Skip to content

resholve: fold in python package deps#205387

Merged
ncfavier merged 1 commit intoNixOS:masterfrom
abathur:resholve_fold_in_py_deps
Dec 10, 2022
Merged

resholve: fold in python package deps#205387
ncfavier merged 1 commit intoNixOS:masterfrom
abathur:resholve_fold_in_py_deps

Conversation

@abathur
Copy link
Copy Markdown
Member

@abathur abathur commented Dec 10, 2022

Description of changes

Pull some python package expressions in to resholve's deps to protect it and dependents from breakages as py27 support is removed (or rots) across the python package set.

Result of nixpkgs-review run on x86_64-darwin 1

13 packages built:
  • bash-preexec
  • bashup-events32
  • bashup-events44
  • bats
  • git-ftp
  • ix
  • mons
  • msmtp
  • packcc
  • pdf2odt
  • resholve
  • shunit2
  • yadm

Result of nixpkgs-review pr 205387 run on x86_64-linux 1

15 packages built:
  • arch-install-scripts
  • bash-preexec
  • bashup-events32
  • bashup-events44
  • bats
  • dgoss
  • git-ftp
  • ix
  • mons
  • msmtp
  • packcc
  • pdf2odt
  • resholve
  • shunit2
  • yadm
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/)
  • 23.05 Release Notes (or backporting 22.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 @bobrik

Protects resholve and dependents from breakages as py27 support is
removed (or rots).
@abathur abathur requested a review from thiagokokada December 10, 2022 00:18
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 10, 2022
@figsoda
Copy link
Copy Markdown
Member

figsoda commented Dec 10, 2022

I think it might be a better idea to just not remove the dependencies at all

@abathur
Copy link
Copy Markdown
Member Author

abathur commented Dec 10, 2022

I think that's debatable on its own merits, but typing has already been removed and a testing change has broken configargparse on python27.

@risicle
Copy link
Copy Markdown
Contributor

risicle commented Dec 10, 2022

nixpkgs-review happy, aarch64-linux

@ncfavier ncfavier merged commit 76e0c4b into NixOS:master Dec 10, 2022
@dotlambda dotlambda mentioned this pull request Dec 10, 2022
SamLukeYes added a commit to SamLukeYes/nixos that referenced this pull request Dec 11, 2022
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: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix profile install nixpkgs#bats fails with: pyyaml-6.0 not supported for interpreter python2.7

4 participants