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

[20.03] pythonPackages.stem: unbroken at 1.8.0 #85642

Closed

Conversation

ryneeverett
Copy link
Contributor

@ryneeverett ryneeverett commented Apr 21, 2020

Motivation for this change

A second attempt after #85632.

The update has already been made on master.

The bug is just with the test suite on python 3.8 which was fixed in 1.8.0, so if we'd prefer not to update to 1.8.0 we could skip the tests or backport the patch instead. See bug report:
https://trac.torproject.org/projects/tor/ticket/30847.

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.

The update has already been made on master.

The bug is just with the test suite on python 3.8 so we could just skip
the tests if preferred. See bug report:
<https://trac.torproject.org/projects/tor/ticket/30847>.
@FRidh
Copy link
Member

FRidh commented Apr 21, 2020

@GrahamcOfBorg build pythonPackages.stem python3Packages.stem

@drewrisinger
Copy link
Contributor

See suggestion at #85896 (review) for how to make test suite pass with py38

@ryneeverett
Copy link
Contributor Author

@drewrisinger The test suite is passing. Patching is unnecessary because the bug was fixed in 1.8.0.

@drewrisinger
Copy link
Contributor

@drewrisinger The test suite is passing. Patching is unnecessary because the bug was fixed in 1.8.0.

Ok, that's not what I understood from the header.
@GrahamcOfBorg build python27Packages.stem python37Packages.stem python38Packages.stem

@ryneeverett
Copy link
Contributor Author

@drewrisinger Ah, I now see the ambiguity and edited the header to clarify it.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When backporting changes, please follow https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#backporting-changes.

Namely, you should be doing git cherry-pick -x <rev> from a commit that has already landed in master. If the branches have diverged, you may alter the commit or add another commit to ensure that the package is able to still evaluate and build

ryneeverett added a commit to ryneeverett/nixpkgs that referenced this pull request Apr 25, 2020
A third attempt after NixOS#85642 which I hadn't recognized as a backport
of NixOS#81679.

The bug is just with the test suite on python 3.8 which was fixed in 1.8.0.
See bug report: https://trac.torproject.org/projects/tor/ticket/30847.

(cherry picked from commit 618cdd2)
@ryneeverett
Copy link
Contributor Author

I hadn't recognized this as a backport because I wasn't sure if upgrading would be the accepted solution (over patching or test-skipping). There don't seem to be any objections so I'll assume upgrading is fine. Closing in favor of #86008.

@drewrisinger
Copy link
Contributor

You don't have to keep closing your pull requests every time you want to change them. You can still push to the branch that this PR was based on. If you want to re-do your commits, you can e.g. amend them and then force-push git push -f, and that will update what's in this PR.

stigok pushed a commit to stigok/nixpkgs that referenced this pull request Jun 12, 2020
A third attempt after NixOS#85642 which I hadn't recognized as a backport
of NixOS#81679.

The bug is just with the test suite on python 3.8 which was fixed in 1.8.0.
See bug report: https://trac.torproject.org/projects/tor/ticket/30847.

(cherry picked from commit 618cdd2)
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

4 participants