fatiando / pooch

A friend to fetch your data files

Home Page:https://www.fatiando.org/pooch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not build latest version on Arch Linux

carlosal1015 opened this issue · comments

Description of the problem:

With last update, is not possible to install the package.

See the comments

Full error message

$ pacman -Ql python-pooch
python-pooch /usr/
python-pooch /usr/share/
python-pooch /usr/share/licenses/
python-pooch /usr/share/licenses/python-pooch/
python-pooch /usr/share/licenses/python-pooch/LICENSE

System information

  • Operating system: Arch Linux
  • Python installation (Anaconda, system, ETS): system
  • Version of Python: 3.10.2
  • Version of this package: 1.6.0

@carlosal1015 thank you for reporting. Could you be a bit more specific about what the problem is. I'm not very familiar with Arch packaging and don't see what the error is.

I just downloaded the sdist from pypi, and was able to install into a new conda environment just fine:

❯ python -m pip install --no-deps .
Processing /Users/rmay/Downloads/pooch-1.6.0
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pooch
  Building wheel for pooch (pyproject.toml) ... done
  Created wheel for pooch: filename=pooch-1.6.0-py3-none-any.whl size=56257 sha256=24fca082cb5d387622f594bea738fe0380aa27f363c6c860b7d2ae9f1d52e5e8
  Stored in directory: /Users/rmay/Library/Caches/pip/wheels/10/7f/ba/44fa15ce9a2aaa17b1fec0563a9a9f0b5c4ac567aee6af3524
Successfully built pooch
Installing collected packages: pooch
  Attempting uninstall: pooch
    Found existing installation: pooch 1.6.0
    Uninstalling pooch-1.6.0:
      Successfully uninstalled pooch-1.6.0
Successfully installed pooch-1.6.0
❯ ls -1 ~/miniconda3/envs/tempenv/lib/python3.10/site-packages/pooch
__init__.py
__pycache__
_version.py
core.py
downloaders.py
hashes.py
processors.py
tests
utils.py

This on macOS 12.2, but given that pooch only has pyproject.toml and setup.cfg, I fail to see how there's anything that pooch could be doing wrong here. There's no code, only build metadata.

Thanks @leouieda @dopplershift , this is what is going on https://asciinema.org/a/473256

Is not an upstream issue, the packager is not following the Python Packing Guidelines, i.e. using pip and installing in home user, I will report now in downstream.

@carlosal1015 good to know! Thank you for the feedback and explanation.

You both are welcome.