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

python3Packages.ihatemoney: 4.1 -> 4.2 #85023

Merged
merged 13 commits into from Jul 6, 2020

Conversation

symphorien
Copy link
Member

Update.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@CloudArtAdmins
Copy link
Contributor

What is the package name? I'm not finding it as "ihatemoney".

@symphorien symphorien changed the title ihatemoney: 4.1 -> 4.1.3 python3Packages.ihatemoney: 4.1 -> 4.1.3 Apr 12, 2020
@symphorien
Copy link
Member Author

I fixed the title of the PR. The commit messages are correct.

@symphorien symphorien changed the title python3Packages.ihatemoney: 4.1 -> 4.1.3 WIP: python3Packages.ihatemoney: 4.1 -> 4.2 Apr 25, 2020
@symphorien
Copy link
Member Author

I updated ihatemoney to 4.2 but haven't tested enough yet.

@symphorien symphorien marked this pull request as draft April 25, 2020 10:32
@symphorien symphorien changed the title WIP: python3Packages.ihatemoney: 4.1 -> 4.2 python3Packages.ihatemoney: 4.1 -> 4.2 Apr 25, 2020
@symphorien symphorien marked this pull request as ready for review April 25, 2020 16:50
@symphorien
Copy link
Member Author

@GrahamcOfBorg build python3.pkgs.ihatemoney.tests

@symphorien
Copy link
Member Author

@GrahamcOfBorg build python3.pkgs.ihatemoney.tests.ihatemoney.ihatemoney-postgresql python3.pkgs.ihatemoney.tests.ihatemoney.ihatemoney-sqlite

@symphorien
Copy link
Member Author

Looks like the PR is ready.

@symphorien
Copy link
Member Author

/marvin opt-in

@marvin-mk2
Copy link

marvin-mk2 bot commented Jun 16, 2020

Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. The stages are

  • needs_review, if the author considers this PR ready
  • needs_work if the PR in its current form is not ready yet. Maybe the reviewer requested changes, there is an ongoing discussion or you are waiting for upstream feedback.
  • needs_merge can be set by reviewers who do not have merge permission but would merge this PR if they could.

Anybody can switch the current status with a comment of the form /status <new_status_here>.

Feedback and contributions to this bot are appreciated.

@marvin-mk2 marvin-mk2 bot added the marvin label Jun 16, 2020
@symphorien
Copy link
Member Author

/status needs_review

@symphorien
Copy link
Member Author

I thought a bit about this, and came to the conclusion that I can override the dependencies of ihatemoney locally because ihatemoney will never be the dependency of something else. It is only a library because it must be imported by uswgi, but it will not be depended upon by some other python module.

I also updated uswgi and removed the now-unneeded workaround. I tested this in a vm, and csv downloading works :)

/status needs_review

@timokau
Copy link
Member

timokau commented Jun 25, 2020

I agree with your reasoning, since this is a de-facto python application. Still, since we kind of have an (unwritten?) policy against dependency overrides within python-module I'd like @FRidh's okay on this.

@FRidh do you agree that its fine to override the dependencies here, since the module will only ever be used as an application (but through uswgi)?

@timokau
Copy link
Member

timokau commented Jul 1, 2020

@jonringer do you maybe have an opinion on this? See my last comment.

/status needs_work
(work = feedback to get it out of the needs_review queue, will be improved by timokau/marvin-mk2#29)

@timokau
Copy link
Member

timokau commented Jul 6, 2020

Well, lacking any feedback I will just assume its fine. Please add the python.pkgs prefix to ebc28de, then this should be good to go.

I would still prefer to avoid hardcoding the debts rev to enable automatic updates, but If you as the maintainer want to stay on top of updates manually, that is your call.

@symphorien
Copy link
Member Author

done. The nixos tests still pass locally.

@timokau
Copy link
Member

timokau commented Jul 6, 2020

Thanks, and thank you for your patience!

@timokau timokau merged commit ed72058 into NixOS:master Jul 6, 2020
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

6 participants