Skip to content

python-dogpile-cache: do not depend on dogpile_core #26751

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

Merged
merged 1 commit into from
Jun 22, 2017

Conversation

orivej
Copy link
Contributor

@orivej orivej commented Jun 21, 2017

Motivation for this change

As of dogpile.cache 0.6.0, dogpile.core as a separate package is no longer used by dogpile.cache.

https://bitbucket.org/zzzeek/dogpile.cache/src/22574be17ad336ce5900f543c22ec5cd044d90ee/dogpile/core.py?at=master&fileviewer=file-view-default#core.py-3:4

Otherwise nox somehow fails to import dogpile.cache: after import dogpile, dogpile.__path__ contains only dogpile.core directory, even though it has no __init__.py and dogpile.cache has one.

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 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.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@mention-bot
Copy link

@orivej, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LnL7, @nlewo and @FRidh to be potential reviewers.

@joachifm
Copy link
Contributor

cc @FRidh

@FRidh
Copy link
Member

FRidh commented Jun 22, 2017

The import issue seems to be namespace related, but if it doesn't need this package, then indeed let's drop it.

@FRidh FRidh merged commit 8f45ee7 into NixOS:master Jun 22, 2017
@orivej orivej deleted the python-dogpile-cache branch June 25, 2017 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants