Skip to content

nixops: Re-package environment using poetry2nix#154715

Merged
adisbladis merged 1 commit intoNixOS:masterfrom
adisbladis:nixops-1_7-poetry2nix
Jan 12, 2022
Merged

nixops: Re-package environment using poetry2nix#154715
adisbladis merged 1 commit intoNixOS:masterfrom
adisbladis:nixops-1_7-poetry2nix

Conversation

@adisbladis
Copy link
Member

@adisbladis adisbladis commented Jan 12, 2022

Motivation for this change

The NixOps derivation keeps breaking because of unrelated Python packaging work and is incredibly difficult to keep alive.
Rather than outright removing 1.7 as suggested in #150059 this change should make it much easier to keep 1.7 on life support without causing any burden for those wanting to work on python3 only.

Note that the version numbers listed in pyproject.toml are derived from what's currently building in 21.11.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

cc @roberth

The NixOps derivation keeps breaking because of unrelated Python packaging work and is incredibly difficult to keep alive.
Rather than outright removing 1.7 as suggested in NixOS#150059 this change shuold make it much easier to keep 1.7 on life support without causing any burden for those wanting to work on python3 only.
@adisbladis
Copy link
Member Author

@GrahamcOfBorg build nixops

@adisbladis
Copy link
Member Author

@GrahamcOfBorg eval

@roberth roberth mentioned this pull request Jan 12, 2022
13 tasks
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Jan 12, 2022
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jan 12, 2022
@adisbladis adisbladis merged commit 9bcfcf9 into NixOS:master Jan 12, 2022
@adisbladis adisbladis mentioned this pull request Jan 13, 2022
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant