Skip to content

CHORE: Update amapy-plugin-s3 to Python 3.12#70

Open
dhars9-roche wants to merge 56 commits intomainfrom
python-312/update-amapy-plugin-s3
Open

CHORE: Update amapy-plugin-s3 to Python 3.12#70
dhars9-roche wants to merge 56 commits intomainfrom
python-312/update-amapy-plugin-s3

Conversation

@dhars9-roche
Copy link
Copy Markdown
Contributor

Update amapy-plugin-s3 for Python 3.12.

  • 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)

dhars9-roche and others added 23 commits March 26, 2026 13:43
- 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>
@dhars9-roche dhars9-roche self-assigned this Mar 31, 2026
@dhars9-roche dhars9-roche added the dependencies Pull requests that update dependencies label Mar 31, 2026
Dhar, Saurav {DSRI~SANTA CLARA} and others added 2 commits March 31, 2026 22:13
- 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 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>
@dhars9-roche dhars9-roche force-pushed the python-312/update-amapy-plugin-s3 branch from 8ea34d9 to 9dbacbe Compare March 31, 2026 22:16
…' into python-312/update-amapy-contents

# Conflicts:
#	client/amapy-utils/amapy_utils/utils/tests/test_file_utils.py
#	client/amapy-utils/pyproject.toml
dhars9-roche and others added 3 commits March 31, 2026 16:21
- Replace typing.Union with X | Y syntax
- Replace typing.Optional with X | None syntax
- Replace typing.Type with builtin type
- Replace typing.List, typing.Dict with builtin list, dict
- Replace bare [Type] annotations with list[Type]
- Convert .format() to f-strings

Co-authored-by: Ona <no-reply@ona.com>
@dhars9-roche dhars9-roche changed the base branch from main to python-312/update-amapy-contents April 2, 2026 10:31
data = [
("s3://aws-test-bucket/test_data/sample_files/", "AWS_DP_CREDENTIALS", 4,
"application/x-yaml"),
"application/yaml"),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will fail test

Base automatically changed from python-312/update-amapy-contents to main April 2, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update dependencies

Development

Successfully merging this pull request may close these issues.

1 participant