Package Details: python-black-git 24.4.2.r3.g0c033f3e-1

Git Clone URL: https://aur.archlinux.org/python-black-git.git (read-only, click to copy)
Package Base: python-black-git
Description: Uncompromising Python code formatter
Upstream URL: https://github.com/psf/black
Keywords: code-formatting
Licenses: MIT
Conflicts: python-black
Provides: python-black
Submitter: 0x647262
Maintainer: gilcu3
Last Packager: gilcu3
Votes: 1
Popularity: 0.000000
First Submitted: 2018-11-16 16:49 (UTC)
Last Updated: 2024-04-30 07:22 (UTC)

Dependencies (21)

Required by (51)

Sources (1)

Latest Comments

realasking commented on 2020-03-02 11:24 (UTC) (edited on 2020-03-02 11:27 (UTC) by realasking)

This package missed many depends, such as:

python-regex,python-typing_extensions,python-mypy_extensions,python-pathspec

and even those depends have been installed it still can't be successfully install.

Here's the error message:

raceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.8/unittest/__main__.py", line 18, in <module>
    main(module=None)
  File "/usr/lib/python3.8/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.8/unittest/main.py", line 147, in parseArgs
    self.createTests()
  File "/usr/lib/python3.8/unittest/main.py", line 158, in createTests
    self.test = self.testLoader.loadTestsFromNames(self.testNames,
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/tmp/yaourt-tmp-realasking/aur-python-black-git/src/python-black-git/tests/test_black.py", line 1649, in <module>
    class BlackDTestCase(AioHTTPTestCase):
NameError: name 'AioHTTPTestCase' is not defined

But it's ok if we using pip to install the black.

mnussbaum commented on 2019-06-12 19:58 (UTC) (edited on 2019-06-12 19:58 (UTC) by mnussbaum)

I'm getting an error attempting to install this package:

ModuleNotFoundError: No module named 'typed_ast'

0x647262 commented on 2018-11-18 20:04 (UTC)

No problem!

You've been added to the "new" package's co-maintainers list: https://aur.archlinux.org/packages/python-black-git/

polyzen commented on 2018-11-17 21:54 (UTC) (edited on 2018-11-17 21:55 (UTC) by polyzen)

So this is a change from a make dependency to a hard dependency? Just want to make sure I'm understanding that correctly.

Correct.

@polyzen: would you be interested in co-maintaining this package?

I suppose it wouldn't hurt in case I have to test against master.

Edit: Also, thank you.

0x647262 commented on 2018-11-15 18:23 (UTC) (edited on 2018-11-15 18:24 (UTC) by 0x647262)

this should be called python-black-git

I'll get that queued up.

running unit tests is missing

This was a conscious choice due to the unit tests consistently failing when I originally created this package. Assuming things are passing consistently upstream I'll re-enable them.

setuptools is a hard dependency, setup.py uses entry_points

So this is a change from a make dependency to a hard dependency? Just want to make sure I'm understanding that correctly.

python-aiohttp should be a checkdepends otherwise tests deactivate several things

I'll get that changed as well.

@polyzen: would you be interested in co-maintaining this package?

polyzen commented on 2018-11-15 04:53 (UTC)

Passing along some notes:

  • this should be called python-black-git
  • running unit tests is missing
  • setuptools is a hard dependency, setup.py uses entry_points
  • python-aiohttp should be a checkdepends otherwise tests deactivate several things