inpoly-python icon indicating copy to clipboard operation
inpoly-python copied to clipboard

building on Python 3.9 on GitHub actions

Open krober10nd opened this issue 4 years ago • 2 comments

  • When trying to build I get this catch22/circular dependency on numpy however in my setup.cfg file I list numpy prior to inpoly.
Collecting inpoly
50
  Downloading inpoly-0.1.2.tar.gz (185 kB)
51
    ERROR: Command errored out with exit status 1:
52
     command: /home/runner/work/oceanmesh/oceanmesh/.tox/py3/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvjq0yr3/inpoly_0ed7e6adff01462d9847c040b32eb64e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvjq0yr3/inpoly_0ed7e6adff01462d9847c040b32eb64e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-d9j1ovqu
53
         cwd: /tmp/pip-install-xvjq0yr3/inpoly_0ed7e6adff01462d9847c040b32eb64e/
54
    Complete output (5 lines):
55
    Traceback (most recent call last):
56
      File "<string>", line 1, in <module>
57
      File "/tmp/pip-install-xvjq0yr3/inpoly_0ed7e6adff01462d9847c040b32eb64e/setup.py", line 6, in <module>
58
        import numpy as np
59
    ModuleNotFoundError: No module named 'numpy'

krober10nd avatar Aug 24 '21 22:08 krober10nd

This does not happen on other versions of Python < 3.9 oddly enough.

krober10nd avatar Aug 24 '21 22:08 krober10nd

this is actually related to this, which would likely only happen on CI systems since a normal user would probably have bumpy installed.

https://stackoverflow.com/questions/5394356/how-to-specify-install-order-for-python-pip

krober10nd avatar Aug 26 '21 14:08 krober10nd