You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running nox with a hatchling based repository (vector), which does not require a setup.py file. nox errors out on some specific Python versions with the following message -
D:\OpenSource\HEP\vector>nox -s tests
nox > Running session tests-3.6
nox > Re-using existing virtual environment at .nox\tests-3-6.
nox > python -m pip install -e '.[awkward,test,test-extras]'
nox > Command python -m pip install -e '.[awkward,test,test-extras]' failed with exit code 1:
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: D:\OpenSource\HEP\vector
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.
You should consider upgrading via the 'D:\OpenSource\HEP\vector\.nox\tests-3-6\Scripts\python.EXE -m pip install --upgrade pip' command.
nox > Session tests-3.6 failed.
nox > Running session tests-3.7
nox > Session tests-3.7 skipped: Python interpreter 3.7 not found.
nox > Running session tests-3.8
nox > Re-using existing virtual environment at .nox\tests-3-8.
nox > python -m pip install -e '.[awkward,test,test-extras]'
nox > Command python -m pip install -e '.[awkward,test,test-extras]' failed with exit code 1:
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: D:\OpenSource\HEP\vector
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
WARNING: You are using pip version 20.3.3; however, version 22.2 is available.
You should consider upgrading via the 'D:\OpenSource\HEP\vector\.nox\tests-3-8\Scripts\python.EXE -m pip install --upgrade pip' command.
nox > Session tests-3.8 failed.
nox > Running session tests-3.9
nox > Re-using existing virtual environment at .nox\tests-3-9.
nox > python -m pip install -e '.[awkward,test,test-extras]'
nox > pytest
.
.
.
.
========================================================== 340 passed, 2408 skipped in 6.58s ===========================================================
nox > Session tests-3.9 was successful.
nox > Running session tests-3.10
nox > Session tests-3.10 skipped: Python interpreter 3.10 not found.
nox > Ran multiple sessions:
nox > * tests-3.6: failed
nox > * tests-3.7: skipped
nox > * tests-3.8: failed
nox > * tests-3.9: success
nox > * tests-3.10: skipped
Current Behavior
I am running
nox
with ahatchling
based repository (vector
), which does not require asetup.py
file.nox
errors out on some specificPython
versions with the following message -The last portion (
Python 3.9
) goes ahead and runs the tests successfully. I have not attached that part as it seemed irrelevant.Here is my
noxfile
- https://github.com/scikit-hep/vector/blob/main/noxfile.pyExpected Behavior
Allow editable installs for
hatchling
based projects.Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: