Skip to content

pythonPackages.mechanize: 0.2.5 -> 0.3.5 #27191

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

Closed

Conversation

calvertvl
Copy link
Contributor

Motivation for this change

Calibre command-line tools used against a running calibre now use an HTTP interface (as of 3.0).

When calibre is built against older versions of mechanize (such as 0.2.5), these tools fail. After updating to 0.3.5, they work as expected again.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@mention-bot
Copy link

@calvertvl, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

Copy link
Contributor

@0xABAB 0xABAB left a comment

Choose a reason for hiding this comment

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

See Travis Could not find a version that satisfies the requirement html5lib>=0.999999999 (from mechanize->python-suseapi==0.25) (from versions: )

@calvertvl calvertvl force-pushed the fix_calibre_mechanize-0.3.5 branch from f1528ce to 0825244 Compare July 7, 2017 00:16
@calvertvl
Copy link
Contributor Author

Let's see if propagating html5lib fixes it...I thought there was a problem in calibre if I included it in propagatedBuildInputs, but re-testing seems to indicate it is a non-issue.

@calvertvl
Copy link
Contributor Author

Looks like that worked. There's some sort of build failure for weboob on darwin, but I don't have any way to test that (and it looks like it was broken anyway, and is not related to mechanize or html5lib).

@FRidh FRidh self-assigned this Jul 7, 2017
@pSub pSub added the 8.has: package (update) This PR updates a package to a newer version label Jul 7, 2017
@FRidh
Copy link
Member

FRidh commented Jul 7, 2017

This breaks calibre because our version of calibre depends on another version of html5lib. Let's see what we can do about it.

@FRidh
Copy link
Member

FRidh commented Jul 7, 2017

pushed bdabf6a and ff5423c

@FRidh FRidh closed this Jul 7, 2017
@calvertvl calvertvl deleted the fix_calibre_mechanize-0.3.5 branch July 7, 2017 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (update) This PR updates a package to a newer version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants