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 noticed that CI started to fail after releasing a new version, and then adding new commits. The problem is that the pip install [package] prefers the remote package over the locally built wheel in dist if the version-number is the same. Therefor, the tests execute against an outdated package as long as the version number is not bumped. This seems highly surprising behavior.
Your maturin version (maturin --version)
1.4.0
Your Python version (python -V)
3.11
Your pip version (pip -V)
23.3
What bindings you're using
pyo3
Does cargo build work?
Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Yes
Steps to Reproduce
Bump version, release to pypi
Add commits
The CI-pipeline provided by Maturin starts testing the pypi-provided package, instead of HEAD.
Bump the package-version and push; pytest now (and only now) starts using the package built by sdist from HEAD.
The text was updated successfully, but these errors were encountered:
Bug Description
The Github-action generated by Maturin may contain default steps for running
pytest
. The juicy parts of thosepytest
-step are:set -e pip install [package] --find-links dist --force-reinstall pip install pytest pytest
I noticed that CI started to fail after releasing a new version, and then adding new commits. The problem is that the
pip install [package]
prefers the remote package over the locally built wheel indist
if the version-number is the same. Therefor, the tests execute against an outdated package as long as the version number is not bumped. This seems highly surprising behavior.Your maturin version (
maturin --version
)1.4.0
Your Python version (
python -V
)3.11
Your pip version (
pip -V
)23.3
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
HEAD
.pytest
now (and only now) starts using the package built bysdist
fromHEAD
.The text was updated successfully, but these errors were encountered: