Skip to content

[Not needed] Upgrade client amapy packages from Python 3.10 to 3.12#62

Closed
dhars9-roche wants to merge 94 commits intomainfrom
upgrade/python-3.12
Closed

[Not needed] Upgrade client amapy packages from Python 3.10 to 3.12#62
dhars9-roche wants to merge 94 commits intomainfrom
upgrade/python-3.12

Conversation

@dhars9-roche
Copy link
Copy Markdown
Contributor

@dhars9-roche dhars9-roche commented Mar 27, 2026

Description

Updates root requirements.txt setuptools from 68.x to 74.x for Python 3.12 compatibility.

All per-package updates have been split into individual PRs and most are already merged:

Package PR Status
amapy-utils #60 ✅ Merged
amapy-pluggy #63 ✅ Merged
amapy-db #64 ✅ Merged
amapy-contents #65 ✅ Merged
amapy-plugin-gcs #67 ✅ Merged
amapy-plugin-gcr #68 ✅ Merged
amapy-plugin-posix #69 ✅ Merged
amapy-core #66 ✅ Merged
amapy-plugin-s3 #70 ✅ Merged
amapy #71 ✅ Merged

Changes in this PR

  • requirements.txt: setuptools==68.2.2setuptools==74.1.3

dhars9-roche and others added 11 commits March 26, 2026 13:43
- Update requires-python to >=3.12,<3.13 in all 10 client pyproject.toml files
- Update setuptools build requirement from 68.x to 74.x
- Update all third-party dependencies to 2024+ compatible versions
- Replace third-party cached_property with functools.cached_property (stdlib)
- Update MIME type handling for Python 3.12 (application/yaml replaces application/x-yaml)
- Update root requirements.txt (pytest, setuptools, twine, wheel, etc.)

Co-authored-by: Ona <no-reply@ona.com>
@dhars9-roche dhars9-roche self-assigned this Mar 27, 2026
Dhar, Saurav {DSRI~SANTA CLARA} and others added 18 commits March 27, 2026 19:59
Update all dependency specifiers from range syntax (>=X,<Y) to exact
minor pinning (==X.Y.*) to match the project's existing conventions.
All packages pinned to their latest available versions.

Co-authored-by: Ona <no-reply@ona.com>
Revert packages that already work on Python 3.12 to their original
versions. Only update packages that were released before 2024 or
lack Python 3.12 support.

Co-authored-by: Ona <no-reply@ona.com>
- Update requires-python to >=3.12,<3.13
- Update setuptools build requirement to 74.x
- Update aiohttp from >=3.3.0,<4.0.0 to 3.9.* (first version with Python 3.12 wheels)

Co-authored-by: Ona <no-reply@ona.com>
- Update requires-python to >=3.12,<3.13
- Update setuptools build requirement to 74.x
- Update aiohttp from >=3.3.0,<4.0.0 to 3.9.* (first version with Python 3.12 wheels)

Co-authored-by: Ona <no-reply@ona.com>
- Update requires-python to >=3.12,<3.13
- Update setuptools build requirement to 74.x
- Update google-auth-oauthlib from 0.5.* to 1.0.* (pre-2024)
- Update jinja2 from 3.0.* to 3.1.* (pre-2024)
- Update packaging from 23.1.* to 24.0.* (pre-2024)
- Replace third-party cached_property with functools.cached_property

Co-authored-by: Ona <no-reply@ona.com>
- Update requires-python to >=3.12,<3.13
- Update setuptools build requirement to 74.x
- Update aioboto3 from <=10.2.0 to 13.0.* (pre-2024)
- Update urllib3 from 1.26.19 to 2.2.* (1.x is legacy)
- Replace third-party cached_property with functools.cached_property
- Fix datetime.utcnow() deprecation (use datetime.now(timezone.utc))
- Update test MIME type assertion (application/x-yaml -> application/yaml)

Co-authored-by: Ona <no-reply@ona.com>
# Conflicts:
#	client/amapy-core/amapy_core/api/settings_api.py
#	client/amapy-plugin-s3/amapy_plugin_s3/aws_auth.py
#	client/amapy-plugin-s3/amapy_plugin_s3/aws_http_handler.py
#	client/amapy-plugin-s3/amapy_plugin_s3/s3_proxy.py
#	client/amapy-plugin-s3/amapy_plugin_s3/tests/test_aws_storage.py
#	client/amapy-plugin-s3/amapy_plugin_s3/transporter/async_aws/tests/test_async_aws_transporter.py
#	client/amapy-plugin-s3/amapy_plugin_s3/transporter/legacy_aws/tests/test_legacy_aws_transporter.py
# Conflicts:
#	client/amapy-core/amapy_core/asset/asset.py
#	client/amapy-core/pyproject.toml
#	client/amapy-plugin-s3/amapy_plugin_s3/transporter/aws_transport_resource.py
#	client/amapy-plugin-s3/pyproject.toml
@dhars9-roche dhars9-roche changed the base branch from main to python-312/update-amapy April 15, 2026 17:30
Base automatically changed from python-312/update-amapy to main April 17, 2026 16:42
# Conflicts:
#	client/amapy/amapy/commands/alias_actions/alias_help.py
#	client/amapy/amapy/commands/alias_actions/alias_info.py
#	client/amapy/amapy/commands/alias_actions/alias_remove.py
#	client/amapy/amapy/commands/asset_actions/commit.py
#	client/amapy/amapy/commands/asset_class_actions/list.py
#	client/amapy/amapy/python_api/tests/test_artifact.py
#	client/amapy/amapy/python_api/tests/test_project.py
@dhars9-roche
Copy link
Copy Markdown
Contributor Author

Already Upgraded all the Client packages to Python 3.12

@dhars9-roche dhars9-roche deleted the upgrade/python-3.12 branch April 17, 2026 18:10
@dhars9-roche dhars9-roche changed the title [Draft] Upgrade client amapy packages from Python 3.10 to 3.12 [Not needed] Upgrade client amapy packages from Python 3.10 to 3.12 Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant