pubgrub
rattler
pubgrub | rattler | |
---|---|---|
6 | 3 | |
316 | 217 | |
5.4% | 8.8% | |
8.2 | 9.6 | |
3 days ago | 2 days ago | |
Rust | Rust | |
Mozilla Public License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pubgrub
-
The magic of dependency resolution
I initially spend quite some time investigating PubGrub for conda (using the awesome rust implementation) but gave up after some time. The biggest issue was that the primitive used in the pubgrub algorithm is the concept of a range and the mathematical operations you can apply to it. This makes the algorithm very good at reasoning about whether or not a particular spec is worth considering. However, it requires that you can express a set of versions as a continuous range. This is often the case when you talk about things like semver, but in conda there are many more factors to consider, for instance, a spec (matchspec in condas case) might, besides referring to a version also refer to a build string in the form of globs ("*cuda") or build numbers, different platforms, features, hashes and you can even use regular expressions in there. I have not been able to figure out a way to map conda matchspecs into a range primitive that works for pubgrub.
-
Compiling Rust is NP-hard
Note that the type system is turing complete, so NP-Hard is not so bad. :-) Also if you are interested in working on a useful NP-Hard problem in rust, we would love help with the PubGrub project!
-
Announcing version 0.2.1 of pubgrub, a dependency solver.
Thanks! it's still a bit fuzzy for me but I've added an issue for this: https://github.com/pubgrub-rs/pubgrub/issues/101 and when we have the time we'll try to implement it!
-
Announcing elm-test-rs 1.0.0, a new tests runner for the Elm language, built in Rust
I am pleased to announce elm-test-rs 1.0.0, a tests runner for the Elm language, like elm-test, mostly built in Rust. This has been a long road and it also included the implementation of the pubgrub dependency solver in Rust to re-conciliate normal and tests dependencies.
-
Criterion.rs v0.3.4 And Iai 0.1.0
If a major pro of Iai is that it can be run in CI, then a guide to setting that up would be great! I would love to use pubgrubs as a guinea pig, if that helps.
rattler
- Rip – Rust crate to resolve and install Python packages
-
What are you rewriting in rust?
I was in a similar situation. Started a libray to work with the conda ecosystem called rattler. Then it become my day job.
-
The magic of dependency resolution
There is semi working version of a pubgrub implementation in a branch in rattler if you wanna give it a try. :D
What are some alternatives?
stabilizer - Stabilizer: Rigorous Performance Evaluation
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
elm-solve-deps - A dependency solver for the elm ecosystem
rip - A safe and ergonomic alternative to rm
tink-rust - Rust port of Tink cryptography library
MediaTracker - Self hosted media tracker for movies, tv shows, video games, books and audiobooks
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
fml9000 - work in progress music player with Rust+GTK4
gitoxide - An idiomatic, lean, fast & safe pure Rust implementation of Git
freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....
directories-rs - a mid-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
manim - A community-maintained Python framework for creating mathematical animations.