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

Support building dependencies, or find out which Python versions we support #24

Open
nhoening opened this issue Aug 7, 2023 · 3 comments · May be fixed by #25
Open

Support building dependencies, or find out which Python versions we support #24

nhoening opened this issue Aug 7, 2023 · 3 comments · May be fixed by #25
Assignees

Comments

@nhoening
Copy link
Contributor

nhoening commented Aug 7, 2023

When trying the make-supported installation, a user reported an error (see below, they say it works neither with Python 3.11 nor 3.9).

However, for me on Python3.10, make install works well (in a virtual env).

We might have an issue with requirements here, and maybe different Python versions. This requires a little research.

make install
make install-pip-tools
pip3 install -q "pip-tools>=6.2"
make freeze-deps
make install-pip-tools
pip3 install -q "pip-tools>=6.2"
pip-compile -o requirements/app.txt requirements/app.in

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully
│ exit code: 1
 ─> [29 lines of output]
Package hdf5 was not found in the pkg-config se
Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'hdf5' found
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <
File "/private/var/folders/xq/wbc5yvh91bz8dc7
_populate_hdf5_info(dirstosearch, inc_dirs,
File "/private/var/folders/xq/wbc5yvh91bz8dc7

raise ValueError('did not find HDF5 headers
ValueError: did not find HDF5 headers
reading from setup.cfg...


HDF5_DIR environment variable not set, chec
checking /Users/edgar/include ...
hdf5 headers not found in /Users/edgar/include
checking /usr/local/include ...
hdf5 headers not found in /usr/local/include
checking /sw/include ...
hdf5 headers not found in /sw/include
checking /opt/include ...
hdf5 headers not found in /opt/include
checking /opt/local/include ...
@create-issue-branch
Copy link
Contributor

Branch issue-24-Support_building_dependencies created!

create-issue-branch bot pushed a commit that referenced this issue Aug 7, 2023
@create-issue-branch create-issue-branch bot linked a pull request Aug 7, 2023 that will close this issue
@nhoening nhoening changed the title Support building dependencies Support building dependencies, or find out which Python versions we support Aug 7, 2023
@Ahmad-Wahid
Copy link
Contributor

Ahmad-Wahid commented Aug 30, 2023

I have tried the plugin on both python 3.9 and 3.11. I wasn't able to replicate this issue for 3.9 but for 3.11 first I had to install HDF5 and libnetcdf-dev, then I got an error that is like this

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/tmp/pip-resolve-x4klz9f1/llvmlite_d213ef6a83a84de783c170c67eaeb38f/setup.py", line 55, in <module>
        _guard_py_ver()
      File "/tmp/pip-resolve-x4klz9f1/llvmlite_d213ef6a83a84de783c170c67eaeb38f/setup.py", line 52, in _guard_py_ver
        raise RuntimeError(msg.format(cur_py, min_py, max_py))
    RuntimeError: Cannot install on Python version 3.11.4; only versions >=3.7,<3.11 are supported.
    [end of output]

@Ahmad-Wahid
Copy link
Contributor

I think we should limit ourself to python >=3.8, <3.11 for now.

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

Successfully merging a pull request may close this issue.

2 participants