Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with latest packaging (and thus latest Nixpkgs) #549

Open
leo60228 opened this issue Apr 3, 2023 · 1 comment
Open

Incompatible with latest packaging (and thus latest Nixpkgs) #549

leo60228 opened this issue Apr 3, 2023 · 1 comment

Comments

@leo60228
Copy link

leo60228 commented Apr 3, 2023

Previously, when packaging.versions.parse was passed an invalid version (which are common in Nixpkgs as a result of unstable-YYYY-MM-DD versions) it would return an instance of the deprecated LegacyVersion class. LegacyVersion was removed in packaging 22.0. Nixpkgs recently updated packaging, meaning mach-nix gives an InvalidVersion error when it tries to parse Nixpkgs versions.

@spease
Copy link

spease commented Jun 17, 2023

Is there any workaround with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants