Граф коммитов

687 Коммитов

Автор SHA1 Сообщение Дата
hallvictoria 7e6acf36e4
build: update Python Worker Version to 4.34.0 (#1602)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-17 15:43:52 -05:00
hallvictoria 0bfcc7a23e
Update Python SDK Version to 1.22.0b4 (#1601)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-17 14:45:13 -05:00
hallvictoria dd28a181c5
Update Python SDK Version to 1.22.0b3 (#1592)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-09 15:22:23 -05:00
hallvictoria 897e08f83e
Update Python SDK Version to 1.22.0b2 (#1589)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-08 12:25:15 -05:00
hallvictoria 8f25e6df0e
Update Python SDK Version to 1.22.0b1 (#1586)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-02 11:00:48 -05:00
hallvictoria ee2f08d713
Update Python SDK Version to 1.21.1 (#1585)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-09-30 15:44:03 -05:00
hallvictoria a1b6a1d94f
build: update Python Worker Version to 4.33.0 (#1583)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-09-26 12:16:47 -05:00
hallvictoria 68d3ddd5e8
Update Python SDK Version to 1.21.0 (#1581)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-09-24 15:10:06 -05:00
hallvictoria 0189c650d3
build: update Python Worker Version to 4.32.0 (#1578)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-09-18 10:50:03 -05:00
Gavin Aguiar 67bb824814
fix: Fixed default threadpool count for pyver> 3.9 (#1575)
* Fixed default threadpool count for pyver> 3.9

* ptptc test fixes

* test fixes + adding 312 test

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-09-18 09:42:20 -05:00
wangbill ceac558cfe
fix: Http V2 route params update (#1491)
* Http V2 route params update

Worker Changes to get route parameters of http invocation request from invocation request "route_params" attributes after host made update in https://github.com/Azure/azure-functions-host/pull/9997.

TODO: Update lc test after lc image released with host version containing the change.

* test: add unit tests

* chore: fix linting

* fix: linting

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-09-13 11:38:34 -07:00
hallvictoria b734c57b3b
test: removed skipping for docker tests (#1568)
* removed skipping for docker tests

* lint

* revert extra fwpc retry

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-30 16:09:23 -05:00
hallvictoria 0d4ccb59ec
remove unnecessary files from worker package (#1571)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-30 14:53:14 -05:00
hallvictoria 2383eeaf60
fix: code sign validation for setuptools (#1570)
* enable code sign validation & exclude setuptools

* duplicate step
2024-08-29 13:09:47 -05:00
hallvictoria 154b093710
build: update Python SDK Version to 1.21.0b3 (#1569)
* Update Python SDK Version to 1.21.0b3

* Update pyproject.toml

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-28 15:07:10 -05:00
hallvictoria eda982683e
fix: unique clients per function (#1490)
* unique cache for fx name

* lint

* added test for same resource different binding

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-15 08:41:07 -05:00
hallvictoria f4c9c2d37a
fix: added optional context param for tasks (#1523)
* added optional context param for tasks

* checks for 3.11 or lower

* test fixes

* lint & skipping tests

* only one check needed

* lint + comments

* better tests

* removed comment

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-14 14:08:07 -05:00
hallvictoria bbc683e4fb
Update Python Worker Version to 4.31.0 (#1559)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-09 10:19:25 -05:00
Leighton Chen d5c02fbeb8
feat: Support OpenTelemetry Azure monitor distro (#1509)
* distro-commit

* resource detector

* tests

* lint

* Update constants.py

* fix

* Update test_opentelemetry.py

* Update test_opentelemetry.py

* fixing tests, added setting to logs

* reordered import statements

* formatting

* rename

* fix mock env variable

* Update dispatcher.py

* Update dispatcher.py

---------

Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-08 15:13:12 -05:00
hallvictoria 2f8f424201
fix: unique function names (#1557)
* initial test fixes

* del function_app

* refactor variables into separate file e2e & unit tests

* refactor variables for all pipelines

* typo

* absolute paths

* run all db tests

* typo

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-08 14:34:31 -05:00
hallvictoria 296e3c6b6d
build: update Python SDK Version to 1.21.0b2 (#1558)
* Update Python SDK Version to 1.21.0b2

* Update pyproject.toml

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-07 17:42:08 -05:00
hallvictoria bff6619233
build: update Python SDK Version to 1.21.0b1 (#1553)
* Update Python SDK Version to 1.21.0b1

* Update pyproject.toml

* skip db tests

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-05 15:58:47 -05:00
hallvictoria 692aba1784
test: refactoring deferred bindings tests (#1555)
* refactoring db tests

* test fixes

* condition fix

* specific build id

* skip unit tests for sdk releases

* added comments, retries for flaky tests

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-05 11:30:48 -05:00
hallvictoria 64cef47fca
fix: mirror sdk and extension branches (#1554)
* add sdk and extension branches to code-mirror

* rename tests

* rename tests

* download dev packages for unit, skip for lc

* lint

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-08-02 10:12:18 -05:00
hallvictoria 5444e63d0b
test: dev library testing based on branch name or variable (#1538)
* added or condition

* updated condition

* updated condition

* easier readability

* script for installing deps, test setup

* typo, deleted old scripts

* grant execute permissions

* revert worker config

* delete install deps script

* re-added isntall-deps script

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-30 11:22:40 -05:00
hallvictoria 80d83cc937
Update Python Worker Version to 4.30.3 (#1551)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-07-26 11:56:43 -05:00
hallvictoria 285ed4d8c8
copy entire protos folder to /deps (#1548) 2024-07-26 10:31:29 -05:00
hallvictoria 7b451ba7c1
Update Python Worker Version to 4.30.2 (#1547)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-07-25 15:35:24 -05:00
hallvictoria ce2ec9b5d5
fix: use invoke to build protos (#1546)
* use invoke to build protos

* update to ADO

* correct windows dir

* remove invoke as req dep
2024-07-25 14:56:21 -05:00
hallvictoria 97d0e0ab7a
Update Python Worker Version to 4.30.1 (#1545)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-07-25 11:25:03 -05:00
hallvictoria cdc01ec56b
fix: changed target path for builds (#1544)
* changed target path for builds

* removing specified dirs / files from build

* added .artifactignore

* correct ignore cond

* slash direction

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-24 14:38:08 -05:00
hallvictoria ee72ae417e
fix: publish worker nuget package (#1543)
* build artifacts nuget package

* remove prerelease package step

* changed target path

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-23 13:28:20 -05:00
gavin-aguiar bc0f40f45d
Removed 312 from docker tests (#1542) 2024-07-23 11:21:11 -05:00
gavin-aguiar 9376d0a634
Added build artifacts for python3.12 (#1541)
Co-authored-by: Gavin Aguiar <gaaguiar@GavinMac.local>
2024-07-22 19:39:29 -05:00
hallvictoria 1c7c102845
Update Python Worker Version to 4.30.0 (#1540)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-07-22 17:56:35 -05:00
gavin-aguiar bd14bc39a8
feat: Update to support py312 (#1533)
* Update to support py312

* Fixed new relic unit tests

* Adding 312 to unit tests

* 312 typo

* py312 flake8 fix

* Removed 312 for consumption tests

* Downgraded protobuf

* Updated protobuf and grpc versions

* Downgrading protobuf to < 5

* Reverted new relic unit test

* Updated nuspec file

* Fixed pipeline for sql e2e tests

---------

Co-authored-by: hallvictoria <victoriahall@microsoft.com>
Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com>
2024-07-22 17:03:55 -05:00
hallvictoria ef81a32a6f
refactor: updating pipeline variable references (#1534)
* test pipeline with variable group

* added variable group as part of pipelines

* dev testing based on branch name

* typo

* factor out strategy

* test e2e

* extends in ci

* syntax attempt

* lc testgs

* revert

* strategy

* revert

* missed refs

* test variable

* revert test dev packages for unit, lc tests

* missed ref
2024-07-16 10:42:54 -05:00
hallvictoria 87f4dddbd4
remove unit tests, sequentially run test (#1532) 2024-07-12 15:45:59 -05:00
gavin-aguiar 81a314b407
refactor: Added command line util for setting up tests (#1530)
* style: Isortifying the repo and adding pyproject.toml

* Updating PyProject.toml

* Added invoke cmdutil

* Fixed typo

* Fixed flake8 tests

* Fixed typo in comment

* Minor fixes

* Unpinned pip version

---------

Co-authored-by: Varad <varad.meru@gmail.com>
2024-07-12 14:49:31 -05:00
Varad Meru f01ea130e6
style: Isortifying the repo and adding pyproject.toml (#1526)
* style: Isortifying the repo and adding pyproject.toml

* Sorting tests imports

* Fixing the line length to 88

* Updating PyProject.toml

* Updating PyProject.toml

* Addressed comments on pyproject

* Updated dependencies to the 3.7 supported versions

---------

Co-authored-by: gavin-aguiar <gaaguiar@microsoft.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-07-11 16:29:32 -05:00
hallvictoria 97cb71f557
fixed pools for official build (#1527)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-11 12:58:37 -05:00
hallvictoria e87a31aed4
test: update pipeline to allow testing with dev libraries (#1520)
* sync with ADO changes

* removed specific build id

* test commit

* test commit

* latest dev run

* latest from branch

* latest

* skip build tagging for public build

* print debugging info

* added ext and sdk pipeline resources

* maxDiff = None

* variable passing for sdk

* revert variable group

* latest for sdk

* skip dep isolation test

* specified project name

* missed ref

* missed ref

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-01 17:07:30 -05:00
hallvictoria fd390606b9
typo in public build (#1519) 2024-06-25 16:11:50 -05:00
hallvictoria 3f76aa58b6
fix: referencing absolute paths for ADO pipelines (#1518)
* absolute paths

* formatting

* official build
2024-06-25 15:29:59 -05:00
hallvictoria 89a54f0713
fix: 1ES pipeline fixes (#1512)
* security fixes

* security fixes

* formatting\

* formatting

* added variable to pipeline

* lint

* directory typo

* pin numpy

* pin for 3.7

* pin for lc

* remove numpy pinning

* numpy test fixes

* ADO changes

* public build formatting

* removed internal pool from unit tests

* unit tests use linux pool

* syncing with ADO changes

* logging test and async httpv2 changes

* core tools, unit test fixes

* docker test fixes

* skipping unit tests

* installing base extension to container

* install pytest

* typo

* additional pytest packages

* added requests

* initialized variable

* install .[dev]

* PEII docker variable

* sync with ADO changes

* docker test fixes

* install docker dependencies

* install docker dependencies

* teardownclass

* typo in wpc tests

* separate folder for httpv2 tests

* cache fix

* name typo

* adding PIWD for httpv2

* sync with ADO branch

* sync with ADO branch

* scheduled integration tests

* lc env var fix

* feedback

* missed change

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-06-25 14:03:57 -05:00
hallvictoria c244569730
build: update to 1ES PT (#1503)
* code mirror template for worker

* converting to 1ES pipeline

* basic 1ES pipeline

* basic format changed 1ES pipeline

* same template as openai pipeline

* official build template

* official, public, e2e builds

* yml formatting

* tests typo

* formatting & feedback

* removed nuget internal reference

* removed official folder

* feedback, updating public build

* updating build cmd and dotnet version

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
Co-authored-by: Manvir Kaur <67894494+manvkaur@users.noreply.github.com>
2024-06-14 12:27:17 -05:00
hallvictoria 255fc248ad
Update Python Worker Version to 4.29.0 (#1511)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-06-13 16:25:42 -05:00
hallvictoria 3e3695f629
build: update Python SDK Version to 1.20.0 (#1510)
* Update Python SDK Version to 1.20.0

* Update setup.py

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-06-13 14:17:29 -05:00
hallvictoria 31f0e832a6
build: update Python SDK Version to 1.20.0b4 (#1506)
* Update Python SDK Version to 1.20.0b4

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-06-07 16:50:39 -05:00
hallvictoria 2f65a2f50e
fix: latest pytest version breaking tests (#1507)
* install specific pytest version

* ~=7.4.4

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-06-07 13:59:15 -05:00