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

Dependency issues with pendulum and python 3.12 #292

Closed
cldmkr opened this issue Feb 21, 2024 · 2 comments
Closed

Dependency issues with pendulum and python 3.12 #292

cldmkr opened this issue Feb 21, 2024 · 2 comments

Comments

@cldmkr
Copy link

cldmkr commented Feb 21, 2024

flask-praetorian requires package pendulum ^2.1.
Pendulum <3.0.0 requires package distutils. Package distutils is no longer available on python 3.12.
Package pendulum removed the dependency to distutils starting with version 3.0.0 (Ref: Pendulum issues 696).

To be able to use flask-praetorian with python 3.12 and later, I assume flask-praetorian has to support pendulum >= 3.0.0.

>> pip install --upgrade flask-praetorian==1.5.0 pendulum==3.0.0
[...]
Collecting pendulum==3.0.0
  Using cached pendulum-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.9 kB)
[...]
INFO: pip is looking at multiple versions of flask-praetorian to determine which version is compatible with other requirements. This could take a while.
Collecting flask-praetorian==1.5.0
  Using cached flask_praetorian-1.5.0-py3-none-any.whl.metadata (4.0 kB)
ERROR: Cannot install flask-praetorian==1.5.0 and pendulum==3.0.0 because these package versions have conflicting dependencies.

dusktreader added a commit that referenced this issue Mar 11, 2024
Updated dependencies for Python 3.12 including:
 * Requiring pendulum 3.0+
 * Replacing Flask-Mail with Flask-Mailman

Also increased pytest dpendecy to 7.x+ and added coverage and random
order testing.
dusktreader added a commit that referenced this issue Mar 11, 2024
…-issues-with-pendulum-and-python-3.12

Issue #292: Added support for Python 3.12
@dusktreader
Copy link
Owner

Addressed by PR #296

@dusktreader
Copy link
Owner

dusktreader commented Mar 11, 2024

@cldmkr
Support for Python 3.12 has been published in flask-praetorian v1.6.0 on PyPI.

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 a pull request may close this issue.

2 participants