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

python27Packages.colorlog: 4.0.2 -> 4.1.0 #83192

Merged
merged 3 commits into from Apr 9, 2020

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python2.7-colorlog/versions.

meta.description for python27Packages.colorlog is: "Log formatting with colors"

meta.homepage for python27Packages.colorlog is: "https://github.com/borntyping/python-colorlog"

Updates performed:

  • Version update
  • Quoted meta.homepage for RFC 45
Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

34 total rebuild path(s)

10 package rebuild(s)

10 x86_64-linux rebuild(s)
9 i686-linux rebuild(s)
7 x86_64-darwin rebuild(s)
8 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
apache-airflow
errbot
esphome
python27Packages.colorlog
python37Packages.apache-airflow
python37Packages.colorlog
python37Packages.optuna
python38Packages.apache-airflow
python38Packages.colorlog
rapid-photo-downloader

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/11sd5smp0afy0zq09m8fpl30z58g7xsv-python2.7-colorlog-4.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.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A python27Packages.colorlog https://github.com/r-ryantm/nixpkgs/archive/87599a1b8263e83919a187a778f2cf445b7c9557.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/11sd5smp0afy0zq09m8fpl30z58g7xsv-python2.7-colorlog-4.1.0
ls -la /nix/store/11sd5smp0afy0zq09m8fpl30z58g7xsv-python2.7-colorlog-4.1.0/bin

cc @dotlambda for testing.

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 apache-airflow

  ERROR: No matching distribution found for colorlog==4.0.2 (from apache-airflow==1.10.5)
cannot build derivation '/nix/store/3gb4hib71hn3ms64whkqlf84zza4jxzx-env.drv': 3 dependencies couldn't be built
[0 built (3 failed), 0.0 MiB DL]
error: build of '/nix/store/3gb4hib71hn3ms64whkqlf84zza4jxzx-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/83192
3 package failed to build:
apache-airflow esphome python38Packages.apache-airflow

6 package built:
errbot python27Packages.colorlog python37Packages.colorlog python37Packages.optuna python38Packages.colorlog rapid-photo-downloader

@drewrisinger
Copy link
Contributor

Also regression in esphome and python37Packages.optuna. I have a working patch (well, "working" b/c the original package is untested) for esphome, how should I submit it?

I also spent far too long on airflow-airstream, but decided to give up. It requires too many out-of-tree dependencies. CC @costrouc @ingenieroariel (apache-airflow maintainers)

@drewrisinger
Copy link
Contributor

cc @costrouc

``python37Packages.optuna`` test failures
============================= test session starts ==============================
platform linux -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /build/source
collecting 223 items                                                           Fatal Python error: Illegal instruction

Current thread 0x00007ffff7890f40 (most recent call first):
  File "/nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm-python3-3.7.6/lib/python3.7/ctypes/__init__.py", line 364 in __init__
  File "/nix/store/fixfg6li3ngh0g30hy97408q2q24zz1b-python3.7-mxnet-1.4.1/lib/python3.7/site-packages/mxnet/base.py", line 204 in _load_lib
  File "/nix/store/fixfg6li3ngh0g30hy97408q2q24zz1b-python3.7-mxnet-1.4.1/lib/python3.7/site-packages/mxnet/base.py", line 213 in <module>

@drewrisinger
Copy link
Contributor

Attempts to fix issues can be found at https://github.com/drewrisinger/nixpkgs/commits/dr-pr-python-colorlog-fix

drewrisinger added a commit to drewrisinger/nixpkgs that referenced this pull request Mar 24, 2020
Also update to colorlog > 4.0.2, PR NixOS#83192
@jonringer
Copy link
Contributor

@GrahamcOfBorg build apache-airflow
@GrahamcOfBorg build esphome

@jonringer jonringer merged commit 402e921 into NixOS:master Apr 9, 2020
@r-ryantm r-ryantm deleted the auto-update/python2.7-colorlog branch April 11, 2020 17:46
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