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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.caldav: remove outdated substitutes, test with xandikos #274603

Merged
merged 2 commits into from Dec 16, 2023

Conversation

dali99
Copy link
Member

@dali99 dali99 commented Dec 16, 2023

Description of changes

The old patchPhase would do weird things with the setup.py, like leaving an append("==0.2.8"), and radicale is no longer included by default anyways.

python-caldav/caldav@1abfac5
python-caldav/caldav@63603d9

This is also extra safe to do since it does not test xandikos or radicale by default
if they are not available

https://github.com/python-caldav/caldav/blob/f7e00211d6230c4c2ec84645ebce6f1140394fb7/tests/conf.py#L49

Additionally I've added xandikos so it does actually test it, and have verified that more tests are being ran after adding xandikos to its nativeCheckInputs

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.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
  • Fits CONTRIBUTING.md.

Add a 馃憤 reaction to pull requests you find important.

@dali99
Copy link
Member Author

dali99 commented Dec 16, 2023

Also of interest might be #243229 (review) which I also caught while looking at the setup.py, it should be safe to move them to just nativeCheckInputs but upstream hasn't done so yet

@NickCao
Copy link
Member

NickCao commented Dec 16, 2023

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

1 package marked as broken and skipped:
  • home-assistant-component-tests.caldav
7 packages built:
  • calendar-cli
  • calendar-cli.dist
  • gtg
  • python310Packages.caldav
  • python310Packages.caldav.dist
  • python311Packages.caldav
  • python311Packages.caldav.dist

@NickCao NickCao merged commit f2286d2 into NixOS:master Dec 16, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants