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

687 Коммитов

Автор SHA1 Сообщение Дата
peterstone2017 23a5fc343d
unskip lc tests (#1077)
* unskip lc tests

* flakey8

* skip for 3.10 lc tests only

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-08-01 13:44:04 -05:00
Lucy Zhang 74aea84b53
Add SQL Bindings end to end test (#1026)
* add sql bindings e2e test

* update test

* add sql bindings e2e test

* update test

* fix sql binding test

* add python310 sql connection string

* fix unit tests

* fix sql end to end test

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2022-07-28 10:07:02 -05:00
peterstone2017 068fbf8cd2
cookies get key hotfix (#1076)
Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-07-26 16:38:26 -05:00
pdthummar 7afe38f6bf
added blob generic binding tests. (#1030) 2022-07-25 15:53:26 -05:00
pdthummar c5888b1f24
add E2E Pystein and generic binding tests for EventGrid (#1031)
* added E2E tests of EventGrid for new prog model.

* added eventgrid generic binding tests.

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
Co-authored-by: peterstone2017 <12449837+YunchuWang@users.noreply.github.com>
2022-07-21 11:56:18 -05:00
pdthummar 5f28c278e7
add EventHubBatch E2E pystein tests. (#1052)
* added EventHubBatch E2E pystein tests.

* added copyright lic
2022-07-20 12:58:03 -05:00
AzureFunctionsPython e4a7744976 Update Python Worker Version to 4.3.0 2022-07-08 20:26:30 +00:00
pdthummar ef37809029
added E2E pystein and generic binding tests. (#1045) 2022-07-05 10:34:18 -05:00
peterstone2017 c7a52362c0
Enable support for multiple Set-Cookie response headers (native & wsgi/asgi) (#1004)
* initial add cookies attempt

* exclude workindexing proto api from this pr

* Add parsing and nullable tests

* initial add cookies attempt

* exclude workindexing proto api from this pr

* delete random test

* update multi-ccokie tests;add pystein tests

* change to self.assertEqual

* fix flakey8

* fix flakey8

* make dateutil install required

* skip setting multi cookie headers test for py 3.7

* skip 3.7 multi cookie tests

* skip linux consumption tests until dateutil goes in

* flakey8 fix

* update cookie tests

* fix test

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-07-01 16:19:40 -05:00
peterstone2017 1b52d72d8b
blueprint change: worker indexing functionregister (#1065)
* blueprint change: worker indexing functionregister

* fix flakey8

* temp update to 3b2

* update unit tests

* fix functionregister err msg

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2022-07-01 11:00:05 -05:00
Varad Meru f51a1f1b0f
Update Python SDK Version to 1.11.3b2 (#1071)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2022-07-01 07:47:21 -07:00
Varad Meru f3ec8a9be4
Logging traceback for fatal errors (#1064) 2022-06-30 08:32:28 -07:00
gavin-aguiar 66fb7dd582
Added consumption test for dependency isolation (#1063) 2022-06-22 15:55:42 -05:00
gavin-aguiar 083f800a89
Updated host version for consumption tests (#1062) 2022-06-22 13:55:13 -05:00
gavin-aguiar b1085b5bbb
Enabled dependency isolation by default (#1055)
* Enabled dependency isolation by default

* Unit test fixes

* Fixed flake8 tests

* Enabled dependency isolation by default

* Unit test fixes

* Fixed flake8 tests

* Reverted loader.py change

* Added unit tests

* Added unit tests

* Reverted loader.py change

* Added copyright comment

Co-authored-by: Gavin Aguiar <gavin.aguiar@microsoft.com>
2022-06-22 09:24:38 -05:00
peterstone2017 b582f2b35c
updating readme with py3.10 coming soon (#1059)
Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2022-06-21 16:45:16 -07:00
microsoft-github-policy-service[bot] a6b64d1664
Microsoft mandatory file (#1053)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-06-21 16:44:51 -07:00
peterstone2017 c70c381ec1
label flaky httpfunction tests in thirdparty pystein http tests (#1060)
* lable flaky httpfunction tests in thirdparty pystein http tests

* fix pytest import

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-06-17 14:12:39 -05:00
gavin-aguiar 98053f1315
Removed library imports from the worker (#1046)
* Fix ModuleNotFoundError for older pinned functions versions

* Organising imports

* Fixed unit tests

* Added unit test

* Added unit tests

* Remove library imports
2022-06-15 12:42:24 -05:00
peterstone2017 bcda54debb
unskip test_common_libraries for 3.7 (#1058)
* unskip test_common_libraries for 3.7

* move statuscode check up

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-06-14 12:55:51 -05:00
Anthony Shaw 43517a25bd
Add support for dev container (#1039)
Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2022-06-06 09:28:45 -07:00
peterstone2017 4b9ecccc31
add cosmosdb, eventhub generic tests (#1024)
* add cosmosdb, eventhub generic tests

* update tests

* remove file logging handler

* flakey8

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-05-27 10:52:19 -05:00
gavin-aguiar 0ed9017c5c
Added generic tests for http and servicebus (#1043) 2022-05-24 13:56:12 -05:00
peterstone2017 3c23a24d95
update azure-functions version to 1.11.3b1 (#1032)
* update azure-functions version to 1.11.3b1

* change to double quote
2022-05-16 11:32:01 -05:00
Varad Meru 9b4bbcf608
Update Python SDK Version to 1.11.2 (#1027)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2022-05-11 15:59:58 -05:00
peterstone2017 300fc054f4
dateutil is install required as in setting multi set-cookie headers chg (#1021)
Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-05-09 23:39:32 -05:00
Varad Meru 5e5d2508b7
Update Python SDK Version to 1.11.1 (#1025)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2022-05-09 16:21:25 -05:00
peterstone2017 8167b7f9d5
add asgi/wsgi stein tests (#1019)
* add tests for asgi/wsgi

* revert local chg

* update asgi/wsgi stein tests

* fix flakey8

* Update test_third_party_http_functions.py

* flakey8

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-05-04 15:33:17 -05:00
gavin-aguiar 43e71b502d
Updating github workflows to add current dir to syspath (#1020)
Co-authored-by: Gavin Aguiar <gavin.aguiar@microsoft.com>
2022-05-03 11:52:16 -04:00
peterstone2017 899d023d89
update cosmosdb e2e test to check internal fields existence (#1006)
* update cosmosdb e2e test to check internal fields existence

* update test

* fix cosmosdb e2e test

* remove _lsn assert from cosmosdb input test and add change feed comment

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-05-02 11:11:53 -05:00
AzureFunctionsPython 8a74a1575a Update Python Worker Version to 4.1.0 2022-04-27 17:31:04 +00:00
gavin-aguiar 81b84102dc
Supporting PyStein programming model in the Worker (#965) 2022-04-27 10:23:09 -07:00
Varad Meru 1312797281
Update Python SDK Version to 1.11.0 (#1015)
* Update Python SDK Version to 1.11.0

* Updated quotes

* Fix CosmosDB tests with for new system keys

* Fixed flake8 test

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Co-authored-by: Gavin Aguiar <gaaguiar@microsoft.com>
2022-04-26 20:44:57 -05:00
gavin-aguiar 117b8650a5
Fixing dependency isolation tests for linux consumption (#1005)
* Fixing dependency isolation tests for linux consumption

* Skipping images with -upgrade

* Added a comment for -upgrade description
2022-04-19 16:23:39 -05:00
peterstone2017 e4ac00f0e0
add py 310 threadpoolsetting tests (#996)
* add py 310 threadpoolsetting tests


Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
2022-04-11 17:04:43 -05:00
gavin-aguiar 2de202a704
Disable dependency isolation for py 3.10 (#1003)
* Disable dependency isolation for py 3.10

* Fixing unit tests

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2022-04-08 13:38:19 -05:00
Varad Meru 8800edd632
Fixing the Perf Testing workflow (#994)
* Fixing the Perf Testing workflow
* Adding correct dotnet versions
* Bringing in new image
2022-04-08 10:38:27 -07:00
Varad Meru f4d51bd002
Adding pdthummar to CodeOwners file (#995) 2022-04-06 16:28:36 -07:00
Varad Meru 0178bde9ef
Create codeql-analysis.yml for code analysis (#999) 2022-04-06 11:43:27 -07:00
pdthummar 28ff02c95c
Changing the 'ModuleNotFound' error message. (#997) 2022-04-05 12:21:26 -07:00
gavin-aguiar 91f18ffb48
Update linux consumption tests to test with dev library (#990)
* Update host version for linux consumption tests

* Revert host version to v3

* Adding isolate dependencies flag in docker image

* Fixed lint tests

* Skipping common libraries test for python3.7
2022-04-04 16:54:01 -05:00
peterstone2017 300cf005da
ignore testutils files from code coverage (#986)
* ignore testutils files from code coverage
* remove * from ignore path for testutils
2022-03-20 23:33:34 -07:00
Varad Meru 6be0dda942
Reformatted the README.md and removed 3.6 from CI (#985) 2022-03-18 14:08:03 -07:00
Varad Meru 71e4d70dc9
Update Python SDK Version to 1.10.1 (#983)
* Update Python SDK Version to 1.10.1
2022-03-16 16:28:46 -07:00
gavin-aguiar f5d7502aee
Updated workflows to use the host from dev (#980) 2022-03-11 18:20:27 -06:00
gavin-aguiar 2a66168630
Added an option in setup.py to use any branch from azure-functions-host (#978)
* Added an option in setup.py to use any branch from azure-functions-host

* Addressed comments
2022-03-08 17:46:32 -06:00
peterstone2017 6980e27185
fix host_out readlines in test_utils (#976) 2022-03-03 12:18:02 -06:00
Varad Meru 401801fa07
Removing __init__.py copy step in *_env_gen.yml files (#972) 2022-03-03 08:31:05 -08:00
Varad Meru 2e00ec1db8
Fixing e2e-integ yml - dotnet 6, correct core tools, py3.9 2022-02-19 23:40:33 -08:00
Varad Meru 0d03a4da4e
Preparing nuspec file and pipeline changes for release (#966)
The nuspec files needed correction for Python 3.10 generation.
Removed Tests section from azure-pipelines.yml as it wasn't required.
Removed Python 3.6 generation and the V3 builds.
Referencing the correct V4 nuspec.
Also removed the need to install azure-functions in the pack/scripts/nix_deps.sh as we now made it as a required installation in setup.py.
2022-02-18 11:34:32 -08:00