Skip to content

Commit a37bd43

Browse files
refactor: Library worker renaming (#1733)
* Library worker renaming * Moving library workers to separate dir * Resolving conflicts * Updating install dependencies script * Fixed typo * Updated v1 version * remove top-level azure-functions-runtime folders * Removed old files --------- Co-authored-by: hallvictoria <[email protected]> Co-authored-by: Victoria Hall <[email protected]>
1 parent 6be5040 commit a37bd43

File tree

122 files changed

+111
-426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+111
-426
lines changed

.flake8

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ exclude = .git, __pycache__, build, dist, .eggs, .github, .local, docs/,
1111
workers/tests/unittests/test_typing_inspect.py,
1212
workers/tests/unittests/broken_functions/syntax_error/main.py,
1313
.env*, .vscode, venv*, *.venv*,
14-
azure_functions_worker_v2/tests/protos/*,
15-
azure_functions_worker_v2/azure_functions_worker_v2/utils/typing_inspect.py,
16-
azure_functions_worker_v1/tests/protos/*,
17-
azure_functions_worker_v1/azure_functions_worker_v1/utils/typing_inspect.py
14+
runtimes/v2/tests/protos/*,
15+
runtimes/v2/azure_functions_runtime/utils/typing_inspect.py,
16+
runtimes/v1/tests/protos/*,
17+
runtimes/v1/azure_functions_runtime_v1/utils/typing_inspect.py
1818

1919
max-line-length = 88

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ If yes, please answer the following:
3232
- [ ] Does this change apply to both Python <=3.12 and 3.13+?
3333
- If yes, have the changes been made to:
3434
- [ ] azure_functions_worker (Python <= 3.12)
35-
- [ ] azure_functions_worker_v1 / azure_functions_worker_v2 (Python >= 3.13)
35+
- [ ] runtimes/v1 / runtimes/v2 (Python >= 3.13)
3636
- If no, please explain why:
3737

3838
**Programming Model Compatibility (for Python 3.13+)**
3939
- Does this change apply to both:
40-
- [ ] V1 programming model (azure_functions_worker_v1)?
41-
- [ ] V2 programming model (azure_functions_worker_v2)?
40+
- [ ] V1 programming model (runtimes/v1)?
41+
- [ ] V2 programming model (runtimes/v2)?
4242
- Explanation (if limited to one model):
4343

4444
<!-- Thanks for using the checklist -->

azure_functions_worker_v2/tests/unittest_proxy/test_dependency.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

azure_functions_worker_v2/tests/unittest_proxy/test_dispatcher.py

Lines changed: 0 additions & 254 deletions
This file was deleted.

eng/ci/official-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ extends:
8686
- template: /eng/templates/official/jobs/build-library.yml@self
8787
parameters:
8888
PROJECT_NAME: 'Python V2 Library'
89-
PROJECT_DIRECTORY: 'azure_functions_worker_v2'
89+
PROJECT_DIRECTORY: 'runtimes/v2'
9090
ARTIFACT_NAME: 'azure-functions-runtime'
9191
- stage: RunV2LibraryUnitTests
9292
dependsOn: BuildV2Library
9393
jobs:
9494
- template: /eng/templates/jobs/ci-library-unit-tests.yml@self
9595
parameters:
9696
PROJECT_NAME: 'Python V2 Library'
97-
PROJECT_DIRECTORY: 'azure_functions_worker_v2'
97+
PROJECT_DIRECTORY: 'runtimes/v2'
9898

9999
# Python V1 Library Build and Test Stages
100100
- stage: BuildV1Library
@@ -103,12 +103,12 @@ extends:
103103
- template: /eng/templates/official/jobs/build-library.yml@self
104104
parameters:
105105
PROJECT_NAME: 'Python V1 Library'
106-
PROJECT_DIRECTORY: 'azure_functions_worker_v1'
106+
PROJECT_DIRECTORY: 'runtimes/v1'
107107
ARTIFACT_NAME: 'azure-functions-runtime-v1'
108108
- stage: RunV1LibraryUnitTests
109109
dependsOn: BuildV1Library
110110
jobs:
111111
- template: /eng/templates/jobs/ci-library-unit-tests.yml@self
112112
parameters:
113113
PROJECT_NAME: 'Python V1 Library'
114-
PROJECT_DIRECTORY: 'azure_functions_worker_v1'
114+
PROJECT_DIRECTORY: 'runtimes/v1'

0 commit comments

Comments
 (0)