Describe the problem
Installing JEP 4.2.0 via pip install --no-cache-dir -r requirements.txt with pip 25.3 leads to an installation without numpy support. Forcing the pip version back to 25.2 gets things working again. Building under 25.2 does include the following warning:
DEPRECATION: Building 'jep' 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 'jep'. Discussion can be found at https://github.com/pypa/pip/issues/6334
Search for existing solutions
#574 partially addressed this by recommending that people build with --no-cache-dir and --no-build-isolation (but it does say that this isn't strictly necessary). I think that --no-build-isolation is now required with --no-cache-dir only needed after a broken version has been cached.
Environment (please complete the following information):
Ubuntu Linux 24.04
Python 3.12
PIP 25.3
JEP 4.2.0 and JEP 4.2.2
JDK 21
Additional context
IMO at minimum the README should be updated to note that --no-build-isolation is required to get proper numpy support. I haven't tested it yet, but alternatively maybe calling out that --use-pip517 is required might be better.
It would be nice if the changes mentioned in pypa/pip#6334 were applied to the JEP package so that it was no longer relying on deprecated build stuffs.
Describe the problem
Installing JEP 4.2.0 via
pip install --no-cache-dir -r requirements.txtwith pip 25.3 leads to an installation without numpy support. Forcing the pip version back to 25.2 gets things working again. Building under 25.2 does include the following warning:Search for existing solutions
#574 partially addressed this by recommending that people build with --no-cache-dir and --no-build-isolation (but it does say that this isn't strictly necessary). I think that
--no-build-isolationis now required with--no-cache-dironly needed after a broken version has been cached.Environment (please complete the following information):
Ubuntu Linux 24.04
Python 3.12
PIP 25.3
JEP 4.2.0 and JEP 4.2.2
JDK 21
Additional context
IMO at minimum the README should be updated to note that
--no-build-isolationis required to get proper numpy support. I haven't tested it yet, but alternatively maybe calling out that--use-pip517is required might be better.It would be nice if the changes mentioned in pypa/pip#6334 were applied to the JEP package so that it was no longer relying on deprecated build stuffs.