
Hi All, A quick update on the status of wheels for Python 3.10 on Mac and Windows. The azure folks have dropped 32 bit Python 3.10 for Windows, so, unless we complain, there will be no 32 bit versions for 3.10. Likewise, multibuild only supports universal2 wheels Python 3.10 on Mac, so make sure your pip version is up to date. Curiously, there are Mac builds for arm64 (OS_X 11), but amd64 is a no go. This may be a bug in multibuild. There is currently a problem, about two weeks old, of travis-ci flaking out on arm64 builds. I don't know what to do about that, sometimes it runs, but mostly it fails. We should probably look into finding another provider for that platform. It would be nice if someone could test the nightly universal2 wheels for Mac, they can be installed with pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy Chuck

On Mon, 18 Oct 2021 at 07:50, Charles R Harris <charlesr.harris@gmail.com> wrote:
Seems to pip install ok onto Big Sur, with a clean Python 3.10 environment installed via the defaults conda channel. However, I then pip installed pytest and tried to run the test suite (it didn't run): ``` (test) 192-168-1-103:programming andrew$ python Python 3.10.0 (default, Oct 7 2021, 04:19:18) [Clang 10.0.0 ] on darwin Type "help", "copyright", "credits" or "license" for more information.
import numpy as np
np.test()
/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import ccompiler /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:17: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler NumPy version 1.22.0.dev0+1433.gdf5c66c98 NumPy relaxed strides checking option: True NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41* POPCNT* SSE42* AVX* F16C* FMA3* AVX2* AVX512F? AVX512CD? AVX512_KNL? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL? INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 269, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 322, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__ INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall INTERNALERROR> gen.send(outcome) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1210, in pytest_collection INTERNALERROR> self._validate_config_options() INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1233, in _validate_config_options INTERNALERROR> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1269, in _warn_or_fail_if_strict INTERNALERROR> self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1321, in issue_config_time_warning INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: env *1 error* in 0.08s False
```

Hi, On Mon, Oct 18, 2021 at 2:28 PM Andrew Nelson <andyfaff@gmail.com> wrote:
Running the equivalent commands in a fresh macOS 11.6 Intel virtualenv gives no errors or test failures: mkvirtualenv --python=`which python3.10` py310 # Python.org Python pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install pytest hypothesis python -c 'import numpy as np; np.test()' Cheers, Matthew

I realised that I hadn't installed hypothesis. Now things are a little different (the number of tests detected), but still not working: ``` conda create -n test -c defaults python=3.10 conda activate test pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install pytest hypothesis python -c 'import numpy as np; np.test()' ``` gives: /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import ccompiler /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:17: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler NumPy version 1.22.0.dev0+1435.gf4ef0fd5d NumPy relaxed strides checking option: True NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41* POPCNT* SSE42* AVX* F16C* FMA3* AVX2* AVX512F? AVX512CD? AVX512_KNL? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL? INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 269, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 322, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__ INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall INTERNALERROR> gen.send(outcome) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1210, in pytest_collection INTERNALERROR> self._validate_config_options() INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1233, in _validate_config_options INTERNALERROR> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1269, in _warn_or_fail_if_strict INTERNALERROR> self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1321, in issue_config_time_warning INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: env *1287 deselected* in 54.82s

On Tue, 19 Oct 2021 at 09:41, Matthew Brett <matthew.brett@gmail.com> wrote:
Is it possible you have a funny option in a pytest configuration file somewhere?
Thanks for the tip. Yes, I had a directory called test in the CWD, which probably confused things. The tests run now. Sorry for the noise.

On Mon, 18 Oct 2021 at 07:50, Charles R Harris <charlesr.harris@gmail.com> wrote:
Seems to pip install ok onto Big Sur, with a clean Python 3.10 environment installed via the defaults conda channel. However, I then pip installed pytest and tried to run the test suite (it didn't run): ``` (test) 192-168-1-103:programming andrew$ python Python 3.10.0 (default, Oct 7 2021, 04:19:18) [Clang 10.0.0 ] on darwin Type "help", "copyright", "credits" or "license" for more information.
import numpy as np
np.test()
/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import ccompiler /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:17: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler NumPy version 1.22.0.dev0+1433.gdf5c66c98 NumPy relaxed strides checking option: True NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41* POPCNT* SSE42* AVX* F16C* FMA3* AVX2* AVX512F? AVX512CD? AVX512_KNL? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL? INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 269, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 322, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__ INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall INTERNALERROR> gen.send(outcome) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1210, in pytest_collection INTERNALERROR> self._validate_config_options() INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1233, in _validate_config_options INTERNALERROR> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1269, in _warn_or_fail_if_strict INTERNALERROR> self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1321, in issue_config_time_warning INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: env *1 error* in 0.08s False
```

Hi, On Mon, Oct 18, 2021 at 2:28 PM Andrew Nelson <andyfaff@gmail.com> wrote:
Running the equivalent commands in a fresh macOS 11.6 Intel virtualenv gives no errors or test failures: mkvirtualenv --python=`which python3.10` py310 # Python.org Python pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install pytest hypothesis python -c 'import numpy as np; np.test()' Cheers, Matthew

I realised that I hadn't installed hypothesis. Now things are a little different (the number of tests detected), but still not working: ``` conda create -n test -c defaults python=3.10 conda activate test pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install pytest hypothesis python -c 'import numpy as np; np.test()' ``` gives: /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import ccompiler /Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/numpy/distutils/ccompiler.py:17: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils.sysconfig import customize_compiler NumPy version 1.22.0.dev0+1435.gf4ef0fd5d NumPy relaxed strides checking option: True NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41* POPCNT* SSE42* AVX* F16C* FMA3* AVX2* AVX512F? AVX512CD? AVX512_KNL? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL? INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 269, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/main.py", line 322, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__ INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall INTERNALERROR> gen.send(outcome) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1210, in pytest_collection INTERNALERROR> self._validate_config_options() INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1233, in _validate_config_options INTERNALERROR> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1269, in _warn_or_fail_if_strict INTERNALERROR> self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3) INTERNALERROR> File "/Users/andrew/miniconda3/envs/test/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1321, in issue_config_time_warning INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) INTERNALERROR> pytest.PytestConfigWarning: Unknown config option: env *1287 deselected* in 54.82s

On Tue, 19 Oct 2021 at 09:41, Matthew Brett <matthew.brett@gmail.com> wrote:
Is it possible you have a funny option in a pytest configuration file somewhere?
Thanks for the tip. Yes, I had a directory called test in the CWD, which probably confused things. The tests run now. Sorry for the noise.
participants (3)
-
Andrew Nelson
-
Charles R Harris
-
Matthew Brett