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

python36Packages.dropbox: 9.0.0 -> 9.1.0 #49996

Merged
merged 1 commit into from Nov 10, 2018

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Nov 9, 2018

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-dropbox/versions.

meta.description for python36Packages.dropbox is: '"A Python library for Dropbox's HTTP-based Core and Datastore APIs"'.

Checks done (click to expand)
Outpath report (click to expand)

Outpath difference report
8 total rebuild paths

2 package rebuilds

2 x86_64-linux rebuilds
2 i686-linux rebuilds
2 x86_64-darwin rebuilds
2 aarch64-linux rebuilds

First ten rebuilds by attrpath
python27Packages.dropbox
python36Packages.dropbox

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A python36Packages.dropbox https://github.com/r-ryantm/nixpkgs/archive/55bb43e7a0a24bb13d9c3c6761dea6789da90f93.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0
ls -la /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0/bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: python36Packages.dropbox

Partial log (click to expand)

Requirement already satisfied: certifi>=2017.4.17 in /nix/store/9j3gfa7by9id4s06hn66s3vrw0jih1yj-python3.6-certifi-2018.8.24/lib/python3.6/site-packages (from requests>=2.16.2->dropbox==9.1.0) (2018.8.24)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /nix/store/3i735znivwmy0lbrv6rb6wdrchavi4ss-python3.6-urllib3-1.23/lib/python3.6/site-packages (from requests>=2.16.2->dropbox==9.1.0) (1.23)
Installing collected packages: dropbox
Successfully installed dropbox-9.1.0
/private/tmp/nix-build-python3.6-dropbox-9.1.0.drv-0/dropbox-9.1.0
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ifllfbjzx4scikk0ijmnd1g17jl7avsp-python3.6-dropbox-9.1.0/lib
patching script interpreter paths in /nix/store/ifllfbjzx4scikk0ijmnd1g17jl7avsp-python3.6-dropbox-9.1.0
/nix/store/ifllfbjzx4scikk0ijmnd1g17jl7avsp-python3.6-dropbox-9.1.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python36Packages.dropbox

Partial log (click to expand)

Installing collected packages: dropbox
Successfully installed dropbox-9.1.0
/build/dropbox-9.1.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lr1nhxi0i99cb5vjdg6563zk2dblxpip-python3.6-dropbox-9.1.0
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lr1nhxi0i99cb5vjdg6563zk2dblxpip-python3.6-dropbox-9.1.0/lib
patching script interpreter paths in /nix/store/lr1nhxi0i99cb5vjdg6563zk2dblxpip-python3.6-dropbox-9.1.0
checking for references to /build in /nix/store/lr1nhxi0i99cb5vjdg6563zk2dblxpip-python3.6-dropbox-9.1.0...
/nix/store/lr1nhxi0i99cb5vjdg6563zk2dblxpip-python3.6-dropbox-9.1.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python36Packages.dropbox

Partial log (click to expand)

Installing collected packages: dropbox
Successfully installed dropbox-9.1.0
/build/dropbox-9.1.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0/lib
patching script interpreter paths in /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0
checking for references to /build in /nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0...
/nix/store/44mklpg45ai8p710lhwhj8dwlsgr0sqm-python3.6-dropbox-9.1.0

@Mic92 Mic92 merged commit 2d50dd4 into NixOS:master Nov 10, 2018
@dtzWill
Copy link
Member

dtzWill commented Nov 14, 2018

So I'm pretty surprised to see this and others merged -- mostly because they seem to all break our convention ("rule"?) to use sha256's as posted by upstream for python packages, which is easy to see wasn't done for these-- all these new hashes are shorter in length (Nix-style) instead of the longer ones conventionally used/posted by pypi.

Has there been a change in policy in this regard? If so link to discussion/thread would be appreciated! If not, errr please fix :).
( cc python maintainer @FRidh )

@FRidh
Copy link
Member

FRidh commented Nov 14, 2018

There isn't any policy regarding this, it's just that update-python-libraries fetches them using the PyPI API.

@r-ryantm r-ryantm deleted the auto-update/python3.6-dropbox branch November 17, 2018 23:03
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

5 participants