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

pytspack install failing in tests #74

Closed
zmoon opened this issue Aug 15, 2022 · 1 comment
Closed

pytspack install failing in tests #74

zmoon opened this issue Aug 15, 2022 · 1 comment

Comments

@zmoon
Copy link
Member

zmoon commented Aug 15, 2022

Message:
        from numpy.distutils.core import Extension
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-g_s7wkmo/setup.py", line 1, in <module>
          from numpy.distutils.core import Extension
        File "/home/runner/micromamba/envs/monetio-dev/lib/python3.8/site-packages/numpy/distutils/core.py", line 24, in <module>
          from numpy.distutils.command import config, config_compiler, \
        File "/home/runner/micromamba/envs/monetio-dev/lib/python3.8/site-packages/numpy/distutils/command/config.py", line 19, in <module>
          from numpy.distutils.mingw32ccompiler import generate_manifest
        File "/home/runner/micromamba/envs/monetio-dev/lib/python3.8/site-packages/numpy/distutils/mingw32ccompiler.py", line 28, in <module>
          from distutils.msvccompiler import get_build_version as get_build_msvc_version
      ModuleNotFoundError: No module named 'distutils.msvccompiler'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Should try, from the NumPy suggestion, "SETUPTOOLS_USE_DISTUTILS=stdlib to avoid the backwards incompatible changes in setuptools," (or downgrade before running those tests) but also probably add a pyproject.toml build requirement for pytspack.

In the last scheduled run 7 days ago it was working, with setuptools 63.4.2. Today's failed run had setuptools 65.0.0. We can see here that the 65.0.0 release "removed 'msvccompiler' and 'msvc9compiler' modules from distutils".

zmoon added a commit that referenced this issue Aug 15, 2022
zmoon added a commit that referenced this issue Aug 15, 2022
zmoon added a commit that referenced this issue Aug 15, 2022
zmoon added a commit to zmoon/monetio that referenced this issue Aug 16, 2022
@zmoon
Copy link
Member Author

zmoon commented Aug 16, 2022

Fixed in develop

@zmoon zmoon closed this as completed Aug 16, 2022
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

No branches or pull requests

1 participant