Imagine you have published two pre-releases:
package 0.0.1.dev0
package 0.0.2.dev0
My install_requires section in setup.py states:
[
'package>=0.0.2,<1.0.0'
]
Now, when i run pip install . --upgrade --pre I get an error:
ERROR: Could not find a version that satisfies the requirement package<1.0.0,>=0.0.2 (from versions: 0.0.1.dev0, 0.0.2.dev0) ERROR: No matching distribution found for package<1.0.0,>=0.0.2
What am I doing wrong? Isn't the --pre flag supposed to tell pip to match pre-release versions?