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

python37Packages.ipdb: 0.12 -> 0.12.2 #66085

Merged
merged 1 commit into from Aug 13, 2019

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Aug 5, 2019

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.7-ipdb/versions.

meta.description for python37Packages.ipdb is: '"IPython-enabled pdb"'.

meta.homepage for python37Packages.ipdb is: '"https://github.com/gotcha/ipdb"

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.ipdb
python37Packages.ipdb

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/s2n66xgdv8xf1g8mmxpyy0dplshm523y-python3.7-ipdb-0.12.2 \
  --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 python37Packages.ipdb https://github.com/r-ryantm/nixpkgs/archive/02ea444117ba68f2a3fc8dbcc7b5427c4ae3d328.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/s2n66xgdv8xf1g8mmxpyy0dplshm523y-python3.7-ipdb-0.12.2
ls -la /nix/store/s2n66xgdv8xf1g8mmxpyy0dplshm523y-python3.7-ipdb-0.12.2/bin

cc @costrouc for testing.

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.7-ipdb/versions
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.

python2 version seems to be broken:

[nix-shell:~/.cache/nix-review/pr-66085]$ ./results/python27Packages.ipdb/bin/ipdb --help
Traceback (most recent call last):
  File "/nix/store/wmzqhkdbs3862d044n4vyk5lj5yp4s46-python2.7-ipdb-0.12.2/bin/.ipdb-wrapped", line 7, in <module>
    from ipdb.__main__ import main
  File "/nix/store/s2n66xgdv8xf1g8mmxpyy0dplshm523y-python3.7-ipdb-0.12.2/lib/python3.7/site-packages/ipdb/__init__.py", line 7, in <module>
    from ipdb.__main__ import set_trace, post_mortem, pm, run             # noqa
  File "/nix/store/s2n66xgdv8xf1g8mmxpyy0dplshm523y-python3.7-ipdb-0.12.2/lib/python3.7/site-packages/ipdb/__main__.py", line 105
    print(m.__repr__(), file=sys.stderr)
                            ^
SyntaxError: invalid syntax

you can see that python3 is bleeding into python2 PYTHONPATH.

@FRidh FRidh merged commit 7ab38e4 into NixOS:master Aug 13, 2019
@FRidh
Copy link
Member

FRidh commented Aug 13, 2019

@jonringer I cannot reproduce that. The trace seems really odd as well, with the ipdb suddenly importing from the 3.7 ipdb. Does the nix-shell add all items it reviewed to it? In that case these issues are to be expected. It is best to run executables directly from the store instead of through nix-shell.

@r-ryantm r-ryantm deleted the auto-update/python3.7-ipdb branch August 17, 2019 13:53
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

3 participants