Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track progress on upstream issues around deprecated packages in 3.11 / 3.12 #200

Open
benoit74 opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Mar 1, 2024

We have multiple warnings in tests around deprecation. All of them are linked to upstream issues, I've created them and add a link here for follow-up.

cdxj_indexer

cdxj_indexer/postquery.py:9
  /home/benoit/Repos/openzim/warc2zim/.hatch/warc2zim/lib/python3.12/site-packages/cdxj_indexer/postquery.py:9: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

webrecorder/cdxj-indexer#23

pyamf

pyamf is a sub-dependency of cdxj-indexer

pyamf/util/__init__.py:217: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    datetime.datetime.utcfromtimestamp(-31536000.0)
pyamf/adapters/__init__.py:44
  /home/benoit/Repos/openzim/warc2zim/.hatch/warc2zim/lib/python3.12/site-packages/pyamf/adapters/__init__.py:44: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

StdCarrot/Py3AMF#19

warcio

warcio/recordbuilder.py:156: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    return datetime_to_iso_date(datetime.datetime.utcnow(), use_micros=use_micros)

webrecorder/warcio#163

@benoit74 benoit74 self-assigned this Mar 1, 2024
@benoit74 benoit74 added this to the 2.1.0 milestone May 17, 2024
@benoit74 benoit74 modified the milestones: 2.1.0, 2.2.0 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant