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

33 Коммитов

Автор SHA1 Сообщение Дата
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 285ed4d8c8
copy entire protos folder to /deps (#1548) 2024-07-26 10:31:29 -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 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
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
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
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 3dd54afa14
Python 3.6 baggage code removal (#1419)
* removing refs to 3.6

* flake

* feedback

* removed aio_compat

* setup cfg

* venv311
2024-02-13 13:08:40 -06:00
Gavin Aguiar 1a21fa584f Remove reading manifest file from nuspec 2023-10-10 11:42:11 -05:00
Varad Meru ff97a66846
Updating the dependencies and build pipelines to support Arm64 macOS (#1267)
* Updating the protobuf dependency and build pipelines for ARM64 mac

* Moving to use macOS-latest

* Creating a mechanism to generate packages

* Converting GeneratePackage to a Variable

* Explicit Generate Package check
2023-07-05 14:20:10 -05:00
gavin-aguiar 36efc47e27
Build fixes: Upgrading pip to 23.0 (#1221)
* Build fixes tests

* Adding --use-pep517 to pip

* Installing setuptools and wheel

* Upgrading pip to version 23.0

---------

Co-authored-by: Gavin Aguiar <gavin@GavinPC>
2023-04-27 13:54:34 -05:00
pdthummar 052b416ef6
Enabling support for py3.11 (#1108)
* Add support for py 3.11

* Adding Runtime version py3.11 in worker.config.json.

* Updating file to support py3.11

* Removed condition for generating nuget package file
2023-01-23 08:48:13 -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 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
Arjun Roy Chaudhuri 65c30d857f
Fix publish SBOM manifest with nuget package and Changing Win to Linux for release pipeline (#960) 2022-02-17 14:34:20 -08:00
Varad Meru 5e522fc610
Setting up dev as V4 branch for PyWorker (#936)
* Setting up dev as V4 branch for PyWorker
* Installing Dotnet 6 for AzurePipelines and GH Actions
* Disabling SharedMem tests from Mac, and disabling shm when disabled.
* Logging stdout errors, and adding proc kill for lingering processes
* Updating extension version in csproj
* Enable SharedMemory for Tests
* Adding extensionBundle info to host.json template
* Adding extension.csproj file for correctly loading extensions.dll
* Tweaking csproj for e2e tests
* Reintroducing Trace Logging
* Adding some sleep time
* Solving the timestamp timezone awareness issue
* Fixing UTs and E2E tests, setup.py changes, and v4 pipeline changes
* Formatting and Typo changes
* Refactoring azure.pipelines.yml file.
2022-02-04 14:35:36 -08:00
Arjun Roy Chaudhuri 3d49d5bb5b
update nuspec to add sbom as part of package (#941)
Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2022-01-31 08:35:58 -08:00
Hanzhang Zeng 295caf4376
Ensure azure namespace is established in 3.9 (#869) 2021-07-02 12:01:09 -07:00
Hanzhang Zeng 8f3645cefd
Fix issue when isolating libraries when file not ready (#854)
* Fix an issue when isolating libraries when file not mounted

Adding namespace import scenarios

Ensure changes

Add unittests

Amend test cases

Fix an issue when customer defines a module with collided name

Fix test_paths_resolution

Fix case

* Squash commit

* Retry webhost resolution

* Reload linux consumption environment

* Add more logs in depenency

* Refactor prioritize_customers_dependencies

* Remove unnecessary if statements

* Fix linting

* Fix namespace packaging

* Revert "Fix namespace packaging"

This reverts commit 8cb98eeb74.

* Only fix namespace in Python 3.9

* Fix tab typo

* Fix naming

* Should fetch the data from variables
2021-06-04 14:36:22 -07:00
Hanzhang Zeng c587d05e7a
Add support for Windows Python 3.9 (#784) 2020-11-23 14:51:42 -08:00
Hanzhang Zeng 1d0b5779ea
Upgrade pip for linux worker build (#782) 2020-11-18 13:02:40 -08:00
Hanzhang Zeng 6d6ccb3b56
Disable Python 3.9 build in Windows (#775) 2020-11-03 13:51:11 -08:00
Hanzhang Zeng 9a5a07254e
Create worker build workflow (#772)
* Create worker build workflow
* Add upload artifact
* Add generation for pipeline
* Drop x86 support
* Terminate immediately
* Update grpcio to have python 3.9 wheel
2020-10-29 17:41:07 -07:00
Hanzhang Zeng (Roger) 1824612c14
Drop GRPC message size limitation (#632) 2020-03-17 00:25:13 -07:00
Hanzhang Zeng (Roger) e507a984a4
Generate worker.py for different host version (#605)
* Generate worker.py from different host config

* Use worker path

* Update proto packages with identity and shared

* Add workerPath to parameters

Co-authored-by: Maheer Iqbal <42051041+maiqbal11@users.noreply.github.com>
2020-01-10 14:38:52 -08:00
Hanzhang Zeng (Roger) 676a8e578c
Enable Python 3.8 in V3 worker (#603)
* Enable Python 3.8 in V3 worker

* Also allow python version 3.8 in worker.py
2020-01-09 13:11:00 -08:00
Hanzhang Zeng (Roger) a164a09823
Add python 3.8 nuget generation (#587)
* Upgrade Flake8 3.7.9 and fix new rules linting

* Update grpcio tools to 1.26.0 for py38 package generation

* Separate V2 host and V3 host package generation
2020-01-06 10:10:06 -08:00
Maheer Iqbal 5bdf20c8ad Generate version/os/arch bits in NuGet 2019-10-17 13:56:00 -07:00
Maheer Iqbal 6b86d2974a
Copy __init__.py to make azure a namespace (#522) 2019-08-21 12:58:08 -07:00
Maheer Iqbal 69caaaee68
Copy __init__.py for azure + install azure-functions (#479) 2019-07-09 13:56:49 -07:00
Maheer Iqbal 1f0223767b
Remove grpc tools from package (#439) 2019-05-31 16:58:05 +00:00
Maheer Iqbal 6facda1257
NuGet for per-platform worker run environments (#329)
* Create nuget package for worker

* Publishing nuget package as pipeline artifact

* Generate platform specific run environments

* Publish nuget with targets to internal feed

* Publish package on commit to dev or master

* Flatten worker files folder

* Remove publish step to internal feed
2019-03-04 15:49:11 -08:00