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

added support for python3.12 #1698

Merged

Conversation

matthewhegarty
Copy link
Contributor

@matthewhegarty matthewhegarty commented Dec 1, 2023

Problem

Django now officially supports python3.12

Solution

Update config to reflect that python3.12 is supported

This change includes catch_warnings() block for the deprecation warning from openpyxl is resolved:

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

The fix for the deprecation will have to be included in a tablib release for it to be resolved in import_export.

Acceptance Criteria

test run

@matthewhegarty matthewhegarty marked this pull request as ready for review December 6, 2023 13:29
@coveralls
Copy link

coveralls commented Dec 6, 2023

Coverage Status

coverage: 100.0%. remained the same
when pulling 0072ec9 on matthewhegarty:support-python-312
into 9d7eb2a on django-import-export:main.

@matthewhegarty matthewhegarty merged commit c5f44ec into django-import-export:main Dec 7, 2023
13 checks passed
@matthewhegarty matthewhegarty deleted the support-python-312 branch December 7, 2023 11:09
matthewhegarty added a commit that referenced this pull request Dec 9, 2023
* added support for python3.12 (#1698)

* added support for python3.12

* Update changelog.rst

* added catch for DeprecationWarnings

* added deprecation catch

* handle deprecation warnings

* updated changelog

* added decorator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants