Comments (2)
Thanks for this report, it triggered a deeper investigation. I fixed this in #738 .
So basically what happened is that actually ==2.7.*.*
is an unsupported version because it basically says: I want exactly 2.7.*.*
. Because of the exact equality rattler will deduce that 2.7.*.*
must be a regular expression which is not supported by rattler. Thats why you get the RegexConstraintsNotSupported
error.
However, through some historic conda magic that rattler also implements (when parsing in lenient mode), in some cases (if there is no build string) the ==
part of the version in matchspec is removed. That turns ==2.7.*.*
into 2.7.*.*
which is still not actually a valid version because that still looks like a regex, but rattler just interprets this as 2.7.*
(in lenient mode again).
Anyway, with #738 both matchspec and the nameless variant implement this behavior. However, in strict mode the removal of a ==
is not performed anymore so in strict mode this specific matchspec will give a parser error.
from rattler.
Thanks! Looking forward to the next rattler_conda_types
build to give it another go.
from rattler.
Related Issues (20)
- Solving mlflow=2.12.2=py39hb3b8efb_0 takes a lot of time HOT 5
- Cannot solve cmdstan=2.33.1=hc24a2e5_0 (linux) from osx-arm64 HOT 12
- Add `VersionSpec` python bindings
- The python bindings quick start example is out of date
- Timestamp in RepoDataRecord is in seconds instead of milliseconds HOT 10
- Dependency graph from a resolve HOT 7
- Use `rustc-hash` instead of `fxhash` HOT 2
- how do you feed entries from `run_constrains` to the `solver` function in py-rattler? HOT 2
- `InvalidBracket` for matchspec HOT 2
- Create repodata records from package urls HOT 1
- Matchspec::from_string gives RegexConstraintsNotSupported for X.Y.Z.*. HOT 2
- Use prefetched repodatas in `solve()`? HOT 4
- Get `sha256`, `size` and `md5` from direct url package.
- Empty `repodata.json` should be valid HOT 1
- Clobbering a folder with a file is broken
- Gateway.query in Python returns all versions HOT 4
- unable to parse package name "libxgboost-0.6+218_omp_0.tar.bz2" HOT 4
- Add benchmark for lock file size HOT 1
- Investigate how to reduce lock file size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rattler.