Python 3.8 not supported
See original GitHub issuePython 3.8.0 released on 14th October, but Scipy does not support it. I tried updating pyproject.toml
to the following:
[build-system]
requires = [
"wheel",
"setuptools",
"Cython>=0.29.2",
"numpy==1.13.3; python_version=='3.5' and platform_system!='AIX'",
"numpy==1.13.3; python_version=='3.6' and platform_system!='AIX'",
"numpy==1.14.5; python_version>='3.7' and platform_system!='AIX'",
"numpy==1.16.0; python_version=='3.5' and platform_system=='AIX'",
"numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'",
"numpy==1.16.0; python_version>='3.7' and platform_system=='AIX'",
"numpy==1.17.2; python_version>='3.8' and platform_system=='AIX'",
"pybind11>=2.2.4",
]
(My commit is here.)
I then installed scipy from source and ran python3.8 -c "import scipy; scipy.test()
. The tests freeze at 79%.
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_construct.py ........................ [ 78%]
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_csc.py .. [ 78%]
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_csr.py ... [ 78%]
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_extract.py .. [ 78%]
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_matrix_io.py ...... [ 79%]
.local/lib/python3.8/site-packages/scipy/sparse/tests/test_sparsetools.py ...
After using Ctrl
+C
to quit that test, it continues to 100% with the following final results:
========================================================== warnings summary ==========================================================
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
/home/sam/.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
warnings.warn(
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321
/home/sam/.local/lib/python3.8/site-packages/_pytest/mark/structures.py:321: PytestUnknownMarkWarning: Unknown pytest.mark.xslow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
warnings.warn(
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_explicit
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_explicit
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_implicit
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_implicit
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_multi
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_multi
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_pearson
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_pearson
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_pearson
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_pearson
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_lorentz
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_lorentz
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ticket_1253
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ticket_1253
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ifixx
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ifixx
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ifixx
.local/lib/python3.8/site-packages/scipy/odr/tests/test_odr.py::TestODR::test_ifixx
/home/sam/.local/lib/python3.8/site-packages/scipy/odr/odrpack.py:1103: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.output = Output(odr(*args, **kwds))
-- Docs: https://docs.pytest.org/en/latest/warnings.html
================ 14520 passed, 1280 skipped, 1225 deselected, 77 xfailed, 8 xpassed, 27 warnings in 614.71s (0:10:14) ================
Normal return from subroutine COBYLA
NFVALS = 50 F = 2.485185E+01 MAXCV = 1.999965E-10
X = 4.955358E+00 6.666553E-01
NNLS quitting on iteration count.
Scipy/Numpy/Python version information:
Note: scipy was installed from source after modifying pyproject.toml
(see code).
1.3.1 1.17.2 sys.version_info(major=3, minor=8, micro=0, releaselevel='final', serial=0)
Issue Analytics
- State:
- Created 4 years ago
- Comments:33 (22 by maintainers)
Top Results From Across the Web
The specified Python version (3.8) is not supported ... - GitHub
Issue. I wanted to start using python 3.8 in a project: » poetry env use -vvv 3.8.0 [NoCompatiblePythonVersionFound] The specified ...
Read more >Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
Hi, I tried to upgrade Python 3.8.10 to 3.10 on Ubuntu : Ubuntu 20.04.4 LTS ... of Ubuntu or Debian, but that is...
Read more >Python 3.8 support table for most popular Python packages
This site shows Python 3.8 support for the 360 most downloaded packages on ... There can be many reasons a package is not...
Read more >3.8 interpreter still reports "Python version 3.7 does not ...
PyCharm reports it as an error, "Python version 3.7 does not support assignment expressions". I had tried clear all caches and indexes ("Invalidate...
Read more >Python - endoflife.date
Release Released Security Support
3.11 1 month and 3 weeks ago. (24 Oct 2022) Ends in 4 years and 10 months. (24 Oct 2...
3.10...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have some patience please we are already trying to figure out what changed on python 3.8 that we have to fix. And the old ones should keep working with 3.7 so it is not that trivial.
They’ll be added for SciPy 1.3.2, it’s on the way.