зеркало из
1
0
Форкнуть 0
Граф коммитов

543 Коммитов

Автор SHA1 Сообщение Дата
Yuchao Yan 537ece390c
update log for apiview (#38378) 2024-11-07 10:17:32 +08:00
Yuchao Yan 7f5d358422
[sdk generation pipeline] fix logic to extract swagger file (#38334)
* fix logic to extract swagger file

* fix logic to extract swagger file
2024-11-05 16:51:04 +08:00
Yuchao Yan 7cc6902b2a
update (#38220) 2024-10-31 15:08:01 +08:00
Yuchao Yan 73fc6f67ea
open apiview for mgmt sdk (#38143) 2024-10-29 10:20:36 +08:00
Scott Beddall 328ae9c3d9
Fix set-dev-version when targeting a specific package (#38089) 2024-10-24 16:07:40 -07:00
kdestin a9964c6207
chore: Update test compatibility map for azure-ai-evaluation (#38084) 2024-10-24 21:59:24 +00:00
Scott Beddall 5c3c17847b
Support pure `pyproject-toml` packages (#37882)
* add support for parsing and building pure pyproject.toml packages within azure-sdk-tools
* various typing updates across azure-sdk-tools, cleaning up what code paths I'm touching with the new build and parse support
* add tests for various pyproject.toml parse scenarios
* bump setuptools to 74.1.3 to support pure-pyproject.toml extension packages (eg without a setup.py)

---------

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2024-10-22 10:29:33 -07:00
Yuchao Yan 9415af5cc8
fix for multiapi_combiner (#37953) 2024-10-17 13:57:12 +08:00
iscai-msft f3d7405ced
don't include TYPE_CHECKING object in enums (#37876) 2024-10-16 11:26:58 -04:00
Scott Beddall b75ca6c1fb
skip pypy when invoking servicebus (#37893) 2024-10-15 10:59:50 -07:00
Scott Beddall fe58315742
Disable `3.13` tests for `azure-ai-ml` (#37884)
* disable ml 313 until support is enabled
* disable addition of cosmos for now from Language-Settings "get additional packages given pr diff"
2024-10-14 17:41:30 -07:00
Scott Beddall 1349cd074e
Improvements to mindependency dev_requirement conflict resolution (#37669)
* during mindependency runs, dev_requirements on local relative paths are now checked for conflict with the targeted set of minimum dependencies
* multiple type clarifications within azure-sdk-tools
* added tests for new conflict resolution logic

---------

Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2024-10-04 12:05:20 -07:00
McCoy Patiño d3cfd06b95
Remove tools .env (#37679) 2024-10-01 18:13:53 -07:00
Scott Beddall 912602b294
Disable pypy for azure-storage-file-share (#37618)
* disable pypy running against azure-storage-file-share, azure-storage-file-datalake, azure-storage-queue
2024-09-27 15:48:54 -07:00
Scott Beddall 689bac0896
Remove unnecessary variable defaults (#37604)
* apply black and prepare for parsing the ci.yml so that we can understand if testproxy is enabled or disabled
* The language specific cert trust in Language-Settings has been updated to no longer globally set environment variables SSL_CERT_DIR, SSL_CERT_FILE, and REQUEST_CA_BUNDLE. These are dynamically set in proxy_startup.py
2024-09-27 11:59:35 -07:00
Scott Beddall f322ad3a5d
Fix `azure-sdk-tools` tests bitrot, add tools gh action check (#37580)
* encode the fact that azure-eventhub does not support pypy machines
* add azure-sdk-tools test workflow
* update cspell to account for new workflow
* fix matrix generation when no direct packages are present
* fix a test relying on folder ordering to NOT depend on that folder ordering
2024-09-26 14:53:34 -07:00
Scott Beddall da4820ad6d
Pipeline V3 (#37428)
* refactor package selection methodology to utilize Save-Package-Properties for package targeting
* introduce the python - pullrequest build definition that is triggered against all sdk/ directories, and builds/tests the packages which were changed
  * this also includes abstractions to reduce runtime by distributing sets of packages and duplicating matrix definition
* refactor all analyze checks which used to operate on ServiceDirectory to instead operate upon the packages present within a PackageInfoFolder from Save-Package-Properties
* miscellaneous tooling changes to account for new matrix possibilities

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-25 13:43:57 -07:00
Yuchao Yan 2c367a00e2
fix logic to extract swagger file (#37512) 2024-09-24 13:54:37 +08:00
Scott Beddall 22c2d80c37
Resolve Overrides (#37503)
* address an issue with not properly honoring the override variables which skip individual tox environments at runtime
2024-09-20 15:20:58 -07:00
kdestin c78042ef68
(engsys) feat: Make `mindependency` aware of environment_markers (#37357)
* refactor: Return full Requirements object instead of [name, specifier]

* feat: Filter out requirements that apply to the current environment

* feat: Add a log message when a requirement is skipped

* small update covering a couple extra usages of parse_require

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-13 18:07:59 -04:00
kdestin a31e507640
fix: Gracefully handle invalid python_requires when finding minversion (#37317)
python_requires must follow the specification defined in:
        https://packaging.python.org/en/latest/specifications/version-specifiers/#id5

    In the event that a package version specifies a `python_requires`
    that does not match that spec, execution terminates with
    an InvalidSpecifier exception.

    This commit makes it so that we catch and log the exception,
    ignoring the version that has the invalid python version specifier.

    An alternative solution could have been to attempt to correct
    the version specifier (e.g. '>= 3.5.*' is invalid, but it'd be
    trivial to correct it to '>=3.5'). But that would potentially invite
    a complexity that costs more than it's worth.
2024-09-12 10:23:40 -07:00
Yuchao Yan f8fd3e0ab1
enable changelog for data-plane (#37311) 2024-09-12 16:19:30 +08:00
Neehar Duvvuri 96fa1e3fc9
Final Sync of evaluation Code (#37233)
* Final sync of evaluation code

* fix up some user agents
2024-09-10 21:13:47 +00:00
Neehar Duvvuri acb9247bdb
Import InvalidVersion properly in pypi script (#37280) 2024-09-10 20:13:33 +00:00
Scott Beddall c48adf7e65
ensure analyze_dependency can handle an invalid version (#37268) 2024-09-10 10:58:00 -07:00
Scott Beddall 84734d8fef
setting dev version now sets additionally sets upper bound (#37195) 2024-09-04 12:00:36 -07:00
Scott Beddall 448708780b
Cleanup Setuptools (#37035)
* remove a bunch of setuptools pins in favor of the single generic. this is only relevant to setuptools, a greater cleanup along with some CG updates should also be carried out
2024-09-03 16:07:00 -07:00
Xiang Yan 9e6e792029
Conda 2024 09 01 (#36964)
* init 2024-09-01

* data plane update

* update

* update mgmt

* update

* update

* fix the issue with tools

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-01 07:59:28 -07:00
Scott Beddall 5806d2567c
fix edge cases where solo inactive packages were still built (#37011) 2024-08-23 12:52:50 -07:00
Yuchao Yan 31bb621399
Update package_utils.py (#36972) 2024-08-21 15:45:24 +08:00
Yuchao Yan de898b645b
add rule for breaking change detector (#36967) 2024-08-21 11:19:21 +08:00
Yuchao Yan 99bfd773d8
[SDK generation pipeline] Fix for new changelog tool (#36951)
* new changelog fix

* fix

* fix

* Delete tools/azure-sdk-tools/packaging_tools/test.py

* fix

* fix

* changelog
2024-08-20 13:28:36 +08:00
Yuchao Yan 47f690d436
[SDK generation pipeline] optimize log (#36922)
* optimize log

* optimize log

* format
2024-08-16 13:57:03 +08:00
Yuchao Yan 4aa8db6544
[SDK generation pipeline] multi input config change (#36843)
* multi input config change

* fix
2024-08-12 15:55:31 +08:00
Yuchao Yan b7d0d383b2
[SDK generation pipeline] optimize for multi input (#36830)
* optimize for multi input

* optimize for multi input

* optimize for judge tag is preview or not

* fix

* fix tsp-client

* fix

* fix

* fix
2024-08-09 18:12:34 +08:00
Yuchao Yan 1e860019db
[SDK generation pipeline] allow generate from typespec and swagger at same time (#36802)
* update

* fix

* review

* review

* review

* review
2024-08-08 14:21:33 +08:00
Yuchao Yan ec883b2dda
[SDK generation pipeline] multiapi package use old changelog tool (#36754)
* multiapi package use old changelog

* format

* fix
2024-08-05 12:45:24 +08:00
Yuchao Yan 88988355ef
[SDK generation pipeline] optimize log (#36720)
* optimize log

* add hint message

* update stderr

* update log format

* update log format

* update hint message

* update

* update
2024-08-02 15:50:39 +08:00
Yuchao Yan a1ce417339
[SDK generation pipeline] Breaking detector adoption (#36601)
* optimize changelog output

* open breaking change detection for mgmt sdk

* adopt breaking change detector

* format

* update

* update

* update

* update for requirements

* Update package_utils.py
2024-08-02 10:23:07 +08:00
Yuchao Yan c20cdc581c
optimize log (#36641) 2024-07-26 15:09:00 +08:00
Yuchao Yan 2692030afe
init (#36630) 2024-07-26 10:14:09 +08:00
McCoy Patiño b238b8bdb6
Use batch sanitizing feature from sanitizing fixture (#36512) 2024-07-19 18:55:08 -07:00
catalinaperalta 1677cdbcb9
update variable name (#36548)
Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-07-19 13:44:06 -07:00
Xiang Yan 5dad69a569
Make get_cred method not fallback to use dac (#36528)
* Not fallback to DAC by default if running in CI

* update

* update
2024-07-18 13:16:01 -07:00
Krista Pratico 9e734665a5
make sphinx == strict_sphinx and bump to v7.3 (#35914)
* make sphinx == strict_sphinx and bump to v7.3

* strict sphinx only on dataplane

* remove issue creator for sphinx, now mandatory in CI

* test that we can still disable if needed

* cleaning up docs and weekly template

* try disable with artifacts

* remove test skip
2024-07-16 14:09:46 -07:00
Yuchao Yan f1ebb2a4be
[sdk generation pipeline] disable `generate-test` for specific package (#36475)
* remove generate-test

* Update generate_sdk.py
2024-07-15 11:34:22 +08:00
Scott Beddall fa2bb490e5
Use platform-specific activation, pin setuptools 69.2.0 (#36454)
* pin setuptools to 69.2.0
* use virtualenv for our virtual environment creation instead of default venv
* source the virtual environment just before build steps, versus prepending path which was working unreliably
* remove venv use from test phase, as it wasn't actually having the effect we originally expected
2024-07-12 11:38:48 -07:00
vincenttran-msft 5a48f60437
[Storage] Switch from `ClientSecretCredential` to `DefaultAzureCredential` v2 (#35887) 2024-07-11 14:41:34 -07:00
Yuchao Yan fb5c7238bf
remove tsp-location.yaml (#36411) 2024-07-11 10:06:54 +08:00
Yuchao Yan e142e1ce46
fix import (#36409) 2024-07-10 14:58:47 +08:00