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

python38Packages.bitarray: 1.0.1 -> 1.1.0 #74544

Merged
merged 1 commit into from Nov 30, 2019

Conversation

r-ryantm
Copy link
Contributor

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.8-bitarray/versions.

meta.description for python38Packages.bitarray is: '"Efficient arrays of booleans"'.

meta.homepage for python38Packages.bitarray is: '"https://github.com/ilanschnell/bitarray"

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

40 total rebuild path(s)

10 package rebuild(s)

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

First fifty rebuilds by attrpath
glasgow
python27Packages.bitarray
python37Packages.bitarray
python37Packages.glasgow
python37Packages.nmigen
python37Packages.nmigen-boards
python38Packages.bitarray
python38Packages.glasgow
python38Packages.nmigen
python38Packages.nmigen-boards

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/hzmva1bjldkgjiqdxjnmpdvp5m77r8pm-python3.8-bitarray-1.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 python38Packages.bitarray https://github.com/r-ryantm/nixpkgs/archive/c12c35354db1e2e63651eb77218fffc26c917d01.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/hzmva1bjldkgjiqdxjnmpdvp5m77r8pm-python3.8-bitarray-1.1.0
ls -la /nix/store/hzmva1bjldkgjiqdxjnmpdvp5m77r8pm-python3.8-bitarray-1.1.0/bin

cc @bhipple for testing.

Copy link
Contributor

@bhipple bhipple left a comment

Choose a reason for hiding this comment

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

All tests pass, package looks good. Upstream changelog suggests no backwards incompatible changes:
https://github.com/ilanschnell/bitarray/blob/master/CHANGE_LOG#L13

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.

regression in glasgow

[nix-shell:/home/jon/.cache/nix-review/pr-74544]$ ./results/glasgow/bin/glasgow --help
Traceback (most recent call last):
  File "/nix/store/126jy61w7a9fa7fc5bvanz0y49p6ws5j-python3.7-glasgow-unstable-2019-10-16/bin/.glasgow-wrapped", line 6, in <module>
    from glasgow.cli import main
  File "/nix/store/9jzv4x5cvpdb7l0qxkq173vnvlmvsdl3-python3.8-glasgow-unstable-2019-10-16/lib/python3.8/site-packages/glasgow/cli.py", line 22, in <module>
    from .target.hardware import GlasgowHardwareTarget
  File "/nix/store/9jzv4x5cvpdb7l0qxkq173vnvlmvsdl3-python3.8-glasgow-unstable-2019-10-16/lib/python3.8/site-packages/glasgow/target/hardware.py", line 7, in <module>
    from nmigen.compat import *
  File "/nix/store/03x279yl3m9dmym1qd52fm0nwvcb16ni-python3.8-nmigen-unstable-2019-10-17/lib/python3.8/site-packages/nmigen/compat/__init__.py", line 8, in <module>
    from .sim import *
  File "/nix/store/03x279yl3m9dmym1qd52fm0nwvcb16ni-python3.8-nmigen-unstable-2019-10-17/lib/python3.8/site-packages/nmigen/compat/sim/__init__.py", line 5, in <module>
    from ...back.pysim import *
  File "/nix/store/03x279yl3m9dmym1qd52fm0nwvcb16ni-python3.8-nmigen-unstable-2019-10-17/lib/python3.8/site-packages/nmigen/back/pysim.py", line 5, in <module>
    from bitarray import bitarray
  File "/nix/store/hzmva1bjldkgjiqdxjnmpdvp5m77r8pm-python3.8-bitarray-1.1.0/lib/python3.8/site-packages/bitarray/__init__.py", line 11, in <module>
    from bitarray._bitarray import _bitarray, bitdiff, bits2bytes, _sysinfo
ModuleNotFoundError: No module named 'bitarray._bitarray'

although the import is from within bit array itself, so... that's not good

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.

nevermind, it was just nix-shell + python interactions

https://github.com/NixOS/nixpkgs/pull/74544
9 package were built:
glasgow python27Packages.bitarray python37Packages.bitarray python37Packages.nmigen python37Packages.nmigen-boards python38Packages.bitarray python38Packages.glasgow python38Packages.nmigen python38Packages.nmigen-boards

LGTM

@jonringer jonringer merged commit 9f507d9 into NixOS:master Nov 30, 2019
@r-ryantm r-ryantm deleted the auto-update/python3.8-bitarray branch December 7, 2019 22:58
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