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

Support for Python 3.11 #31

Closed
Hnasar opened this issue Sep 13, 2022 · 0 comments · Fixed by #32
Closed

Support for Python 3.11 #31

Hnasar opened this issue Sep 13, 2022 · 0 comments · Fixed by #32

Comments

@Hnasar
Copy link

Hnasar commented Sep 13, 2022

Python 3.11 is set to release in 2-3 weeks, but wheels (or sdists) are unavailable for windows-curses.

Here's the docs on porting to 3.11 https://docs.python.org/3.11/whatsnew/3.11.html#id6

The release date is on 2022-10-03 but rc builds are already available.

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.11 compatibilities during this phase

https://www.python.org/downloads/release/python-3110rc1/

(Btw, it could be nice to be explicit in setup.py about which versions are supported https://peps.python.org/pep-0345/#requires-python )

        python_requires='>=3.6,<3.11',  # or <3.12 once 3.11 is supported

Thank you!

Hnasar pushed a commit to Hnasar/python-can that referenced this issue Sep 13, 2022
Python 3.11 wheels for windows-curses are [not yet available][1], and this
meant that python-can could not be installed on windows with Python
3.11. Since windows-curses is only used in viewer.py, change the
dependnecy to an optional extra.

[1]: zephyrproject-rtos/windows-curses#31
Hnasar pushed a commit to Hnasar/python-can that referenced this issue Sep 20, 2022
Python 3.11 wheels for windows-curses are [not yet available][1], and this
meant that python-can could not be installed on windows with Python
3.11. Since windows-curses is only used in viewer.py, change the
dependnecy to an optional extra.

[1]: zephyrproject-rtos/windows-curses#31
zariiii9003 added a commit to hardbyte/python-can that referenced this issue Oct 3, 2022
* Move windows-curses dependency to an optional extra

Python 3.11 wheels for windows-curses are [not yet available][1], and this
meant that python-can could not be installed on windows with Python
3.11. Since windows-curses is only used in viewer.py, change the
dependnecy to an optional extra.

[1]: zephyrproject-rtos/windows-curses#31

* change python3 to python for Windows

Co-authored-by: Hashem Nasarat <hnasarat@beta.team>
Co-authored-by: zariiii9003 <52598363+zariiii9003@users.noreply.github.com>
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.

1 participant