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

setup.py does not allow python3 #1955

Closed
quynhnhatnguyen opened this issue Dec 5, 2019 · 4 comments
Closed

setup.py does not allow python3 #1955

quynhnhatnguyen opened this issue Dec 5, 2019 · 4 comments

Comments

@quynhnhatnguyen
Copy link

@quynhnhatnguyen quynhnhatnguyen commented Dec 5, 2019

Top-level intent

Installing privacyidea with git

Steps to reproduce

pip3.4 install git+https://github.com/privacyidea/privacyidea.git

Expected outcome

PrivacyIDEA with pip 3 support installed

Actual outcome

Failed with errors:

ERROR: privacyIDEA requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*' but the running Python is 3.4.10

Can you please confirm and remove the restriction for python3 in setup.py. Can we please also update to make sure the deps requirement list in setup.py is up to date?

Thank you!

@plettich

This comment has been minimized.

Copy link
Member

@plettich plettich commented Dec 6, 2019

According to the Python 3.4 release schedule this version has reached it's end-of-life. Which OS are You using? Could You switch to a newer Python version?
Python 3.5 is supported since fc7cfea and available in the current release 3.2.

@cornelinux

This comment has been minimized.

Copy link
Member

@cornelinux cornelinux commented Dec 6, 2019

Hi @quynhnhatnguyen One thing to point out: To my understanding our code does currently not support python 3.4. I.e.: Probably not all lines of code, not all scenarios can run with python 3.4, this is also a reason why it is excluded in the "supported" versions. Otherwise, see @plettich questions and coments.

@quynhnhatnguyen

This comment has been minimized.

Copy link
Author

@quynhnhatnguyen quynhnhatnguyen commented Dec 6, 2019

Thank you for the clarification.
I was testing with the branch-3.1 code base. I will retry with master and python 3.5 and above.

@cornelinux

This comment has been minimized.

Copy link
Member

@cornelinux cornelinux commented Dec 6, 2019

Please note that 3.2 was released (you find the version tag in the master).

@NuvandaPV NuvandaPV closed this Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.