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

python.pkgs.black: 19.10b0 -> 20.8b1 #96456

Merged
merged 1 commit into from Nov 20, 2020
Merged

python.pkgs.black: 19.10b0 -> 20.8b1 #96456

merged 1 commit into from Nov 20, 2020

Conversation

TheDelus
Copy link
Contributor

@TheDelus TheDelus commented Aug 27, 2020

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot requested a review from sveitser August 27, 2020 13:45
Copy link
Contributor

@drewrisinger drewrisinger left a comment

Choose a reason for hiding this comment

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

  • Some stylistic fixes
  • Main package builds via nix-review, tested some downstream but not all.
  • Commits LGTM

@@ -23,14 +23,19 @@ buildPythonPackage rec {

# Don't know why these tests fails
# Disable test_expression_diff, because it fails on darwin
# Disable Primer* tests because they depend on black beeing in PATH
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better just to add black to the path for the purposes of this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for the late reply. Since I'm fairly new to the nix world I'm not sure how to do this. Something like

  preCheck = ''
    export PATH=${black}
  '';

will obviously not work

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw some examples of

  preCheck = ''
    export PATH="$PATH:$out/bin"
  '';

in nixpkgs.

@@ -23,14 +23,19 @@ buildPythonPackage rec {

# Don't know why these tests fails
# Disable test_expression_diff, because it fails on darwin
Copy link
Contributor

Choose a reason for hiding this comment

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

This might be a good time to switch to pytestCheckHook. See https://github.com/NixOS/nixpkgs/blob/6770ab0771703b573a0a1c1f6c238352bebc9c31/doc/languages-frameworks/python.section.md#using-pytestcheckhook

This would allow flexible disabling of tests for darwin-only. Also setting LC_ALL or PATH could happen at preCheck

pkgs/development/python-modules/black/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/black/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/black/default.nix Outdated Show resolved Hide resolved
@drewrisinger
Copy link
Contributor

Quit nix-review after running for a few hours. Got a few build failures that aren't on master: python3[7,8]Packages.irc, python38Packages.pyls-black.

Partial logs from nix-review:

builder for '/nix/store/ljaqm0qh16iymrdwq1a5xrwipm46vf1m-python3.7-irc-19.0.0.drv' failed with exit code 1; last 10 log lines:
      replace_conflicting=replace_conflicting
    File "/nix/store/mf2yydz1vv5pf1z2gi75akycpcs1vz04-python3.7-setuptools-47.3.1/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "/nix/store/mf2yydz1vv5pf1z2gi75akycpcs1vz04-python3.7-setuptools-47.3.1/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
      return installer(requirement)
    File "/nix/store/mf2yydz1vv5pf1z2gi75akycpcs1vz04-python3.7-setuptools-47.3.1/lib/python3.7/site-packages/setuptools/dist.py", line 754, in fetch_build_egg
      return fetch_build_egg(self, req)
    File "/nix/store/mf2yydz1vv5pf1z2gi75akycpcs1vz04-python3.7-setuptools-47.3.1/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
      raise DistutilsError(str(e))
  distutils.errors.DistutilsError: Command '['/nix/store/bds9nb7jvbc7nmqr9mymar0m5g276cln-python3-3.7.8/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp9ctcdafh', '--quiet', 'toml']' returned non-zero exit status 1.
builder for '/nix/store/qh0w2dgx95hfkvrj5b73yn25ivbgwpyy-python3.8-python-language-server-0.33.1.drv' failed with exit code 1; last 10 log lines:
  FAILED test/plugins/test_definitions.py::test_assignment - AttributeError: 'P...
  FAILED test/plugins/test_highlight.py::test_highlight - AttributeError: 'Posi...
  FAILED test/plugins/test_highlight.py::test_sys_highlight - AttributeError: '...
  FAILED test/plugins/test_hover.py::test_hover - AttributeError: 'PosixPath' o...
  FAILED test/plugins/test_jedi_rename.py::test_jedi_rename - AttributeError: '...
  FAILED test/plugins/test_references.py::test_references - AttributeError: 'Po...
  FAILED test/plugins/test_references.py::test_references_builtin - AttributeEr...
  FAILED test/plugins/test_signature.py::test_signature - AttributeError: 'Posi...
  FAILED test/plugins/test_signature.py::test_multi_line_signature - AttributeE...
  ===== 21 failed, 79 passed, 8 skipped, 6 deselected, 7 warnings in 32.80s ======
cannot build derivation '/nix/store/yghz2lml0461v10bh3in3ia0axwygiak-python3.8-pyls-black-0.4.6.drv': 1 dependencies couldn't be built
builder for '/nix/store/v4zzga2h3a06svbj1jaal7x4rg6clf2z-python3.8-irc-19.0.0.drv' failed with exit code 1; last 10 log lines:
      dist = best[req.key] = env.best_match(
    File "/nix/store/y6pa19m3pz7zfjjxazfmkk4r4z3k572n-python3.8-setuptools-47.3.1/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "/nix/store/y6pa19m3pz7zfjjxazfmkk4r4z3k572n-python3.8-setuptools-47.3.1/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
      return installer(requirement)
    File "/nix/store/y6pa19m3pz7zfjjxazfmkk4r4z3k572n-python3.8-setuptools-47.3.1/lib/python3.8/site-packages/setuptools/dist.py", line 754, in fetch_build_egg
      return fetch_build_egg(self, req)
    File "/nix/store/y6pa19m3pz7zfjjxazfmkk4r4z3k572n-python3.8-setuptools-47.3.1/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
      raise DistutilsError(str(e))
  distutils.errors.DistutilsError: Command '['/nix/store/3pprxyshd78a4y90hrj3y3wn8w8vinqb-python3-3.8.5/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmpv5553x7a', '--quiet', 'toml']' returned non-zero exit status 1.
cannot build derivation '/nix/store/dcpsaj6ypa9yrf9dfn2mrx8dprzz8skw-errbot-6.1.1.drv': 1 dependencies couldn't be built

@TheDelus
Copy link
Contributor Author

Shall I do something about the errors that occured while running nix-review? And if yes, what can I do about it?

Copy link
Contributor

@drewrisinger drewrisinger left a comment

Choose a reason for hiding this comment

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

  • Diff mostly LGTM, few small formatting things
  • Commits LGTM
  • Didn't try build today, don't have access to a build PC today.

, regex
, toml
, typed-ast
, typing-extensions }:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
, typing-extensions }:
, typing-extensions
}:

"test_expression_diff"
];

propagatedBuildInputs = [
Copy link
Contributor

Choose a reason for hiding this comment

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

These should be moved up, above checkInputs.

checkInputs = [ pytestCheckHook ];

preCheck = ''
export PATH="$PATH:$out/bin"
Copy link
Contributor

Choose a reason for hiding this comment

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

does LC_ALL still need set?

Comment on lines +39 to +41
# Don't know why these tests fails
"test_cache_multiple_files"
"test_failed_formatting_does_not_get_cached"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you maybe show a log of why these fail, so people can help? No real objection to disabling it though.

Copy link
Contributor

Choose a reason for hiding this comment

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

Attached the log below. I don't know why the tests fail but they seem to fail this way consistently.

============================= test session starts ==============================
platform linux -- Python 3.8.5, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /build/black-20.8b1
collected 150 items / 2 deselected / 148 selected                              

tests/test_black.py .........F..............................F........... [ 35%]
..................................................................xxx... [ 83%]
..................                                                       [ 95%]
tests/test_primer.py ......                                              [100%]

=================================== FAILURES ===================================
___________________ BlackTestCase.test_cache_multiple_files ____________________

self = <tests.test_black.BlackTestCase testMethod=test_cache_multiple_files>

    @event_loop()
    def test_cache_multiple_files(self) -> None:
        mode = DEFAULT_MODE
        with cache_dir() as workspace, patch(
            "black.ProcessPoolExecutor", new=ThreadPoolExecutor
        ):
            one = (workspace / "one.py").resolve()
            with one.open("w") as fobj:
                fobj.write("print('hello')")
            two = (workspace / "two.py").resolve()
            with two.open("w") as fobj:
                fobj.write("print('hello')")
            black.write_cache({}, [one], mode)
            self.invokeBlack([str(workspace)])
            with one.open("r") as fobj:
                self.assertEqual(fobj.read(), "print('hello')")
            with two.open("r") as fobj:
>               self.assertEqual(fobj.read(), 'print("hello")\n')
E               AssertionError: "print('hello')" != 'print("hello")\n'
E               - print('hello')
E               ?       ^     ^
E               + print("hello")
E               
E               ?       ^     ^ 
E               +

tests/test_black.py:1381: AssertionError
___________ BlackTestCase.test_failed_formatting_does_not_get_cached ___________

self = <tests.test_black.BlackTestCase testMethod=test_failed_formatting_does_not_get_cached>

    @event_loop()
    def test_failed_formatting_does_not_get_cached(self) -> None:
        mode = DEFAULT_MODE
        with cache_dir() as workspace, patch(
            "black.ProcessPoolExecutor", new=ThreadPoolExecutor
        ):
            failing = (workspace / "failing.py").resolve()
            with failing.open("w") as fobj:
                fobj.write("not actually python")
            clean = (workspace / "clean.py").resolve()
            with clean.open("w") as fobj:
                fobj.write('print("hello")\n')
>           self.invokeBlack([str(workspace)], exit_code=123)

tests/test_black.py:1456:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_black.py:196: in invokeBlack
    self.assertEqual(
E   AssertionError: 0 != 123 : Failed with args: ['--verbose', '--config', '/build/black-20.8b1/tests/empty.toml', '/build/tmpg7cs37d1']
E   stdout: ''
E   stderr: '/build/tmpg7cs37d1/clean.py ignored: matches the --exclude regular expression\n/build/tmpg7cs37d1/failing.py ignored: matches the --exclude regular expression\nNo Python files are present to be formatted. Nothing to do 😴\n'
E   exception: None
=============================== warnings summary ===============================
/nix/store/nlvjjvb9471dbpdj8fhdih0ak90cq9d9-python3.8-aiohttp-3.6.2/lib/python3.8/site-packages/aiohttp/helpers.py:107
  /nix/store/nlvjjvb9471dbpdj8fhdih0ak90cq9d9-python3.8-aiohttp-3.6.2/lib/python3.8/site-packages/aiohttp/helpers.py:107: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def noop(*args, **kwargs):  # type: ignore

tests/test_black.py: 12 tests with warnings
  /nix/store/nlvjjvb9471dbpdj8fhdih0ak90cq9d9-python3.8-aiohttp-3.6.2/lib/python3.8/site-packages/aiohttp/connector.py:964: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    hosts = await asyncio.shield(self._resolve_host(

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
FAILED tests/test_black.py::BlackTestCase::test_cache_multiple_files - Assert...
FAILED tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached
===== 2 failed, 143 passed, 2 deselected, 3 xfailed, 13 warnings in 29.16s =====
builder for '/nix/store/sjzrn2vmvw8b782n7pjsbdac1r2jmp7q-python3.8-black-20.8b1.drv' failed with exit code 1
error: build of '/nix/store/sjzrn2vmvw8b782n7pjsbdac1r2jmp7q-python3.8-black-20.8b1.drv' failed

@drewrisinger
Copy link
Contributor

Shall I do something about the errors that occured while running nix-review? And if yes, what can I do about it?

If the failures are broken on master branch, then you don't need to do anything. If they are broken with this upgrade, then we need to figure out how to fix them.

@sveitser
Copy link
Contributor

sveitser commented Nov 8, 2020

Running nixpkgs-review has 3 failures. I think all are due to nix-prefetch-github failing to build.

$ nixpkgs-review pr 96456
$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/96456/head:refs/nixpkgs-review/1
$ git worktree add /home/lulu/.cache/nixpkgs-review/pr-96456/nixpkgs c2715f436d3c5473ac98967bf6ea5a0197b430c0
Preparing worktree (detached HEAD c2715f436d3)
Updating files: 100% (23129/23129), done.
HEAD is now at c2715f436d3 Merge pull request #98174 from thiagokokada/fix-dart2native
$ git merge --no-commit 2743e515a5a77249c382deb950094dda97f04d14
Automatic merge went well; stopped before committing as requested
$ nix build --no-link --keep-going --option build-use-sandbox relaxed -f /home/lulu/.cache/nixpkgs-review/pr-96456/build.nix
warning: ignoring the user-specified setting 'sandbox', because it is a restricted setting and you are not a trusted user
builder for '/nix/store/18dzjq76p5hrmskj8746k6cizbdwcw1y-python3.7-nix-prefetch-github-4.0.drv' failed with exit code 1; last 10 log lines:
  nix_prefetch_github/templates.py                      6      6     0%
  nix_prefetch_github/version.py                        4      4     0%
  ---------------------------------------------------------------------
  TOTAL                                               409    409     0%
  Coverage HTML written to dir coverage/html
  
  =========================== short test summary info ============================
  FAILED build/lib/nix_prefetch_github/effect.py::BLACK
  FAILED nix_prefetch_github/effect.py::BLACK
  ======================== 2 failed, 72 passed in 10.36s =========================
builder for '/nix/store/k70rqza71w1saf5hkz8zzhwyvwpi5vwx-python3.8-nix-prefetch-github-4.0.drv' failed with exit code 1; last 10 log lines:
  nix_prefetch_github/templates.py                      6      6     0%
  nix_prefetch_github/version.py                        4      4     0%
  ---------------------------------------------------------------------
  TOTAL                                               443    443     0%
  Coverage HTML written to dir coverage/html
  
  =========================== short test summary info ============================
  FAILED build/lib/nix_prefetch_github/effect.py::BLACK
  FAILED nix_prefetch_github/effect.py::BLACK
  ======================== 2 failed, 72 passed in 10.46s =========================
cannot build derivation '/nix/store/pk42nc6ia1nn5p195gkg7z1dzxl2ll7d-pypi2nix-2.0.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/91bwl96cbyczz3p50jhvlv8ixvcfspm7-env.drv': 3 dependencies couldn't be built
[1 built (2 failed)]
error: build of '/nix/store/91bwl96cbyczz3p50jhvlv8ixvcfspm7-env.drv' failed
2 packages marked as broken and skipped:
bareos pepper

1 package blacklisted:
tests.nixos-functions.nixosTest-test

3 packages failed to build:
nix-prefetch-github pypi2nix python37Packages.nix-prefetch-github

https://github.com/NixOS/nixpkgs/pull/96456
60 packages built:
black black-macchiato ceph ceph-client errbot fava flexget libceph mnemosyne noto-fonts-emoji python37Packages.WSME python37Packages.backports_functools_lru_cache python37Packages.black python37Packages.black-macchiato python37Packages.cheroot python37Packages.cherrypy python37Packages.graphql-server-core python37Packages.irc python37Packages.jaraco_collections python37Packages.jaraco_functools python37Packages.jaraco_logging python37Packages.jaraco_text python37Packages.nototools python37Packages.papermill python37Packages.portend python37Packages.pyalgotrade python37Packages.pyls-black python37Packages.pytest-black python37Packages.slackclient python37Packages.stumpy python37Packages.tempora python37Packages.uarray python37Packages.ws4py python37Packages.zerobin python38Packages.WSME python38Packages.backports_functools_lru_cache python38Packages.cheroot python38Packages.cherrypy python38Packages.graphql-server-core python38Packages.irc python38Packages.jaraco_collections python38Packages.jaraco_functools python38Packages.jaraco_logging python38Packages.jaraco_text python38Packages.nototools python38Packages.papermill python38Packages.portend python38Packages.pyalgotrade python38Packages.pyls-black python38Packages.pytest-black python38Packages.slackclient python38Packages.stumpy python38Packages.tempora python38Packages.uarray python38Packages.ws4py python38Packages.zerobin sabnzbd sambaFull tribler twitter-color-emoji

The build of nix-prefetch-github fails because the new version of black causes a few changes in formatting and there's a test to check that the code is formatted with black. Would it be reasonable to disable this test in nixpkgs?

=================================== FAILURES ===================================
______________________________ Black format check ______________________________
--- /build/nix-prefetch-github-4.0/build/lib/nix_prefetch_github/effect.py      2020-09-12 11:45:50 +0000
+++ /build/nix-prefetch-github-4.0/build/lib/nix_prefetch_github/effect.py      2020-11-08 03:48:55.101857 +0000
@@ -98,11 +98,14 @@
                 message=f"Remote '{intent.remote}' is not a link to a github repository"
             )
         )
     owner = match.group(2)
     name = match.group(3)
-    return GithubRepository(name=name, owner=owner,)
+    return GithubRepository(
+        name=name,
+        owner=owner,
+    )


 @do
 def detect_revision(intent):
     returncode, stdout = yield Effect(
@@ -213,11 +216,12 @@

 @do
 def check_git_repo_is_dirty_performer(intent):
     returncode, _ = yield Effect(
         ExecuteCommand(
-            command=["git", "diff", "HEAD", "--quiet"], cwd=intent.directory,
+            command=["git", "diff", "HEAD", "--quiet"],
+            cwd=intent.directory,
         )
     )
     if returncode == 128:
         raise Exception(
             f"Repository at {intent.directory} does not contain any commits"

@sveitser
Copy link
Contributor

Result of nixpkgs-review pr 96456 1

2 packages marked as broken and skipped:
  • bareos
  • pepper
1 package blacklisted:
  • tests.nixos-functions.nixosTest-test
5 packages failed to build:
  • ceph (ceph-dev)
  • ceph-client
  • libceph
  • sabnzbd
  • sambaFull (samba4Full)
58 packages built:
  • black (python38Packages.black)
  • black-macchiato (python38Packages.black-macchiato)
  • errbot
  • fava
  • flexget
  • mnemosyne
  • nix-prefetch-github (python38Packages.nix-prefetch-github)
  • noto-fonts-emoji
  • pypi2nix
  • python37Packages.WSME
  • python37Packages.backports_functools_lru_cache
  • python37Packages.black
  • python37Packages.black-macchiato
  • python37Packages.cheroot
  • python37Packages.cherrypy
  • python37Packages.graphql-server-core
  • python37Packages.irc
  • python37Packages.jaraco_collections
  • python37Packages.jaraco_functools
  • python37Packages.jaraco_logging
  • python37Packages.jaraco_text
  • python37Packages.nix-prefetch-github
  • python37Packages.nototools
  • python37Packages.papermill
  • python37Packages.portend
  • python37Packages.pyalgotrade
  • python37Packages.pyls-black
  • python37Packages.pytest-black
  • python37Packages.slackclient
  • python37Packages.stumpy
  • python37Packages.tempora
  • python37Packages.uarray
  • python37Packages.ws4py
  • python37Packages.zerobin
  • python38Packages.WSME
  • python38Packages.backports_functools_lru_cache
  • python38Packages.cheroot
  • python38Packages.cherrypy
  • python38Packages.graphql-server-core
  • python38Packages.irc
  • python38Packages.jaraco_collections
  • python38Packages.jaraco_functools
  • python38Packages.jaraco_logging
  • python38Packages.jaraco_text
  • python38Packages.nototools
  • python38Packages.papermill
  • python38Packages.portend
  • python38Packages.pyalgotrade
  • python38Packages.pyls-black
  • python38Packages.pytest-black
  • python38Packages.slackclient
  • python38Packages.stumpy
  • python38Packages.tempora
  • python38Packages.uarray
  • python38Packages.ws4py
  • python38Packages.zerobin
  • tribler
  • twitter-color-emoji

@sveitser
Copy link
Contributor

The 5 failures above are also on master.

@sveitser
Copy link
Contributor

@TheDelus I made a PR to your branch with the requested formatting changes.

https://github.com/TheDelus/nixpkgs/pull/1

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.

Look better, thanks!
Additional improvements can be done in another PR

failures are all related to pytest-tesmon failing in master right now

[45 built (2 failed), 32 copied (76.2 MiB), 18.9 MiB DL]
error: build of '/nix/store/3vcjwdbkw6gfyn817x01amli7ilca8b9-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/96456
2 packages marked as broken and skipped:
bareos pepper

1 package blacklisted:
tests.nixos-functions.nixosTest-test

21 packages failed to build:
ceph ceph-client fava flexget libceph mnemosyne python37Packages.WSME python37Packages.cheroot python37Packages.cherrypy python37Packages.pyalgotrade python37Packages.ws4py python37Packages.zerobin python38Packages.WSME python38Packages.cheroot python38Packages.cherrypy python38Packages.pyalgotrade python38Packages.ws4py python38Packages.zerobin sabnzbd sambaFull tribler

42 packages built:
black black-macchiato errbot nix-prefetch-github noto-fonts-emoji pypi2nix python37Packages.backports_functools_lru_cache python37Packages.black python37Packages.black-macchiato python37Packages.graphql-server-core python37Packages.irc python37Packages.jaraco_collections python37Packages.jaraco_functools python37Packages.jaraco_logging python37Packages.jaraco_text python37Packages.nix-prefetch-github python37Packages.nototools python37Packages.papermill python37Packages.portend python37Packages.pyls-black python37Packages.pytest-black python37Packages.slackclient python37Packages.stumpy python37Packages.tempora python37Packages.uarray python38Packages.backports_functools_lru_cache python38Packages.graphql-server-core python38Packages.irc python38Packages.jaraco_collections python38Packages.jaraco_functools python38Packages.jaraco_logging python38Packages.jaraco_text python38Packages.nototools python38Packages.papermill python38Packages.portend python38Packages.pyls-black python38Packages.pytest-black python38Packages.slackclient python38Packages.stumpy python38Packages.tempora python38Packages.uarray twitter-color-emoji

@jonringer jonringer merged commit c7cb72b into NixOS:master Nov 20, 2020
kini added a commit to kini/nixpkgs that referenced this pull request Dec 11, 2020
In PR NixOS#96456, black was upgraded from 19.10b0 to 20.8b1.  This new version of
black depends on the dataclasses module, but that was only introduced into the
standard library in Python 3.7; earlier versions of Python require the backport
package of the same name.  This commit addresses the missing dependency.
FRidh pushed a commit that referenced this pull request Dec 11, 2020
In PR #96456, black was upgraded from 19.10b0 to 20.8b1.  This new version of
black depends on the dataclasses module, but that was only introduced into the
standard library in Python 3.7; earlier versions of Python require the backport
package of the same name.  This commit addresses the missing dependency.
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