hererocks icon indicating copy to clipboard operation
hererocks copied to clipboard

Deprecation warning with pip 25.2 install

Open steve-baker-cradle opened this issue 5 months ago • 0 comments

Installing hererocks succeeds, but emits a deprecation warning when installing with Pip3 25.2 (python 3.13):

+ python -m pip install git+https://github.com/luarocks/hererocks
Collecting git+https://github.com/luarocks/hererocks
  Cloning https://github.com/luarocks/hererocks to /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-req-build-wu8b3e6v
  Running command git clone --filter=blob:none --quiet https://github.com/luarocks/hererocks /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-req-build-wu8b3e6v
  Resolved https://github.com/luarocks/hererocks to commit d2e2b7ab1ce5b6d4e517619746a810159f0e18db
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: hererocks
  DEPRECATION: Building 'hererocks' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'hererocks'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for hererocks (setup.py): started
  Building wheel for hererocks (setup.py): finished with status 'done'
  Created wheel for hererocks: filename=hererocks-0.25.1-py3-none-any.whl size=44121 sha256=7837399a2b45fc16cb5b5b1006e329d3d671282c4307b17d75b00008a1543819
  Stored in directory: /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-ephem-wheel-cache-ad113e3r/wheels/c4/47/a0/c82552a27c40fc6db1732bb7c5a131ebf27a95e9de83088bbe
Successfully built hererocks
Installing collected packages: hererocks
Successfully installed hererocks-0.25.1

This seems related to this pip issue: https://github.com/pypa/pip/issues/6334

Adding --use-pep517 to the pip install seems to run successfully:

+ python -m pip install --use-pep517 git+https://github.com/luarocks/hererocks
Collecting git+https://github.com/luarocks/hererocks
  Cloning https://github.com/luarocks/hererocks to /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-req-build-vbm2f1ui
  Running command git clone --filter=blob:none --quiet https://github.com/luarocks/hererocks /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-req-build-vbm2f1ui
  Resolved https://github.com/luarocks/hererocks to commit d2e2b7ab1ce5b6d4e517619746a810159f0e18db
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: hererocks
  Building wheel for hererocks (pyproject.toml): started
  Building wheel for hererocks (pyproject.toml): finished with status 'done'
  Created wheel for hererocks: filename=hererocks-0.25.1-py3-none-any.whl size=44121 sha256=e58a68517c272bac45265e318dee556d32bf4c361a3f5b33b315894e606851b2
  Stored in directory: /private/var/folders/hg/d8rl25qs4nl00s45_rtwkjmr0000gn/T/pip-ephem-wheel-cache-1v76tmwj/wheels/c4/47/a0/c82552a27c40fc6db1732bb7c5a131ebf27a95e9de83088bbe
Successfully built hererocks
Installing collected packages: hererocks
Successfully installed hererocks-0.25.1

steve-baker-cradle avatar Aug 15 '25 09:08 steve-baker-cradle