Skip to content

Commit

Permalink
rename to azure-functions-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvictoria committed Feb 6, 2025
1 parent 327e0b6 commit abbec6f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 36 deletions.
2 changes: 1 addition & 1 deletion azure_functions_worker/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

VERSION = '1.0.0a13'
VERSION = '0.0.0a1'
8 changes: 4 additions & 4 deletions eng/templates/official/jobs/aggregate-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
outputs:
- output: pipelineArtifact
targetPath: $(Build.SourcesDirectory)/final_package
artifactName: "azure-functions-worker"
artifactName: "dist"

steps:
# Add download task for each artifact
Expand All @@ -24,12 +24,12 @@ jobs:
definition: 652
buildVersionToDownload: specific
pipelineId: $(BuildId1)
artifactName: 'azure-functions-worker-py313'
targetPath: "azure-functions-worker-py313"
artifactName: 'azure-functions-runtime-py313'
targetPath: "azure-functions-runtime-py313"
# Compiles the python packages
- script: |
mkdir -p $(Build.SourcesDirectory)/final_package
cp $(Build.SourcesDirectory)/azure-functions-worker-py3*/*.whl $(Build.SourcesDirectory)/final_package/
cp $(Build.SourcesDirectory)/azure-functions-runtime-py3*/*.whl $(Build.SourcesDirectory)/final_package/
displayName: 'Merge and Compile Python Packages'
- script: |
echo "Contents of final_package folder:"
Expand Down
4 changes: 2 additions & 2 deletions eng/templates/official/jobs/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
outputs:
- output: pipelineArtifact
targetPath: $(Build.SourcesDirectory)/dist
artifactName: "azure-functions-worker-py3$(pythonVersion)"
artifactName: "azure-functions-runtime-py3$(pythonVersion)"

steps:
- script: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
displayName: 'Extract Package Version from Branch Name'
- script: |
wheel_file=$(ls $(Build.SourcesDirectory)/dist/*.whl)
new_wheel_name="azure-functions-worker-$(packageVersion)-py3$(pythonVersion)-none-any.whl"
new_wheel_name="azure-functions-runtime-$(packageVersion)-py3$(pythonVersion)-none-any.whl"
mv "$wheel_file" "$(Build.SourcesDirectory)/dist/$new_wheel_name"
- bash: |
pip install pip-audit
Expand Down
54 changes: 25 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
[project]
name = "test-worker"
name = "azure-functions-runtime"
dynamic = ["version"]
#description = "Python Language Worker for Azure Functions Runtime"
#authors = [
# { name = "Azure Functions team at Microsoft Corp.", email = "azurefunctions@microsoft.com" }
#]
#keywords = ["azure", "functions", "azurefunctions",
# "python", "serverless"]
#license = { name = "MIT", file = "LICENSE" }
#readme = { file = "README.md", content-type = "text/markdown" }
#classifiers = [
# "Development Status :: 5 - Production/Stable",
# "Programming Language :: Python",
# "Programming Language :: Python :: 3",
# "Programming Language :: Python :: 3.7",
# "Programming Language :: Python :: 3.8",
# "Programming Language :: Python :: 3.9",
# "Programming Language :: Python :: 3.10",
# "Programming Language :: Python :: 3.11",
# "Operating System :: Microsoft :: Windows",
# "Operating System :: POSIX",
# "Operating System :: MacOS :: MacOS X",
# "Environment :: Web Environment",
# "License :: OSI Approved :: MIT License",
# "Intended Audience :: Developers"
#]
description = "Python Language Worker for Azure Functions Runtime"
authors = [
{ name = "Azure Functions team at Microsoft Corp.", email = "azurefunctions@microsoft.com" }
]
keywords = ["azure", "functions", "azurefunctions",
"python", "serverless"]
license = { name = "MIT", file = "LICENSE" }
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers"
]
dependencies = [
"azurefunctions-extensions-base; python_version >= '3.8'",
"azure-functions"
]
#
#[project.urls]
#Documentation = "https://github.com/Azure/azure-functions-python-worker?tab=readme-ov-file#-azure-functions-python-worker"
#Repository = "https://github.com/Azure/azure-functions-python-worker"

[project.urls]
Documentation = "https://github.com/Azure/azure-functions-python-worker?tab=readme-ov-file#-azure-functions-python-worker"
Repository = "https://github.com/Azure/azure-functions-python-worker"

[project.optional-dependencies]
dev = [
Expand Down

0 comments on commit abbec6f

Please sign in to comment.