Skip to content

Instantly share code, notes, and snippets.

@pablogamboa
Created November 19, 2021 06:59
Show Gist options
  • Save pablogamboa/6fae6e1cd099addc8c0806ee0a4f4f8a to your computer and use it in GitHub Desktop.
Save pablogamboa/6fae6e1cd099addc8c0806ee0a4f4f8a to your computer and use it in GitHub Desktop.
black log
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install black
Collecting black
Downloading black-21.11b1-py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 6.2 MB/s
Collecting mypy-extensions>=0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting platformdirs>=2
Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting click>=7.1.2
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting tomli<2.0.0,>=0.2.6
Using cached tomli-1.2.2-py3-none-any.whl (12 kB)
Collecting typing-extensions>=3.10.0.0
Using cached typing_extensions-4.0.0-py3-none-any.whl (22 kB)
Collecting pathspec<1,>=0.9.0
Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Collecting regex>=2021.4.4
Downloading regex-2021.11.10-cp39-cp39-macosx_11_0_arm64.whl (279 kB)
|████████████████████████████████| 279 kB 19.7 MB/s
Installing collected packages: typing-extensions, tomli, regex, platformdirs, pathspec, mypy-extensions, click, black
Successfully installed black-21.11b1 click-8.0.3 mypy-extensions-0.4.3 pathspec-0.9.0 platformdirs-2.4.0 regex-2021.11.10 tomli-1.2.2 typing-extensions-4.0.0
WARNING: You are using pip version 21.1.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/pablo/Development/coin-tracker-server/venv/bin/python3 -m pip install --upgrade pip' command.
$ rehash
$ black app
All done! ✨ 🍰 ✨
1163 files left unchanged.
$ pip install regex==2021.4.4
Collecting regex==2021.4.4
Downloading regex-2021.4.4.tar.gz (693 kB)
|████████████████████████████████| 693 kB 3.3 MB/s
Using legacy 'setup.py install' for regex, since package 'wheel' is not installed.
Installing collected packages: regex
Attempting uninstall: regex
Found existing installation: regex 2021.11.10
Uninstalling regex-2021.11.10:
Successfully uninstalled regex-2021.11.10
Running setup.py install for regex ... done
Successfully installed regex-2021.4.4
WARNING: You are using pip version 21.1.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/pablo/Development/coin-tracker-server/venv/bin/python3 -m pip install --upgrade pip' command.
$ black app
Traceback (most recent call last):
File "/Users/pablo/Development/coin-tracker-server/venv/bin/black", line 5, in <module>
from black import patched_main
File "/Users/pablo/Development/coin-tracker-server/venv/lib/python3.9/site-packages/black/__init__.py", line 39, in <module>
from black.nodes import STARS, syms, is_simple_decorator_expression
File "/Users/pablo/Development/coin-tracker-server/venv/lib/python3.9/site-packages/black/nodes.py", line 31, in <module>
from black.strings import has_triple_quotes
File "/Users/pablo/Development/coin-tracker-server/venv/lib/python3.9/site-packages/black/strings.py", line 159, in <module>
def _cached_compile(pattern: str) -> re.Pattern:
AttributeError: module 'regex' has no attribute 'Pattern'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment