tulip-control / polytope

Geometric operations on polytopes of any dimension
https://pypi.org/project/polytope
Other
73 stars 19 forks source link

support Python 3.10 #71

Closed johnyf closed 1 year ago

johnyf commented 3 years ago

Add the Trove classifier and a CI test environment for Python 3.10. Make any changes to the package polytope that may be necessary in order to ensure compatibility with Python 3.10.

According to PEP 619, Python 3.10.0 is expected to be available on Monday, 2021-10-04. Changes in Python 3.10 are documented in "What’s New In Python 3.10".

As far as I know, any changes to polytope code needed to be compatible with Python 3.10 have already been made.

The Trove classifier and CI test environment (for the development version of Python 3.10) have already been added in branch py310. However, there were errors in the CI build due to numpy and scipy not being yet available in wheel form on PyPI for Python 3.10. Moreover, locally scipy sources from PyPI did not compile successfully for Python 3.10. So it seems that this issue will be revisited after Python 3.10 has been released, when numpy and scipy will be available for Python 3.10 (as well as matplotlib and cvxopt).

Until then, the branch py310 will keep being rebased on top of the mainline branch, so that any merge conflicts be avoided.