Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 73 additions & 20 deletions .github/test_projects/extras-and-dependency-groups/poetry.lock
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is weird: chore(deps): lock file maintenance · ni/python-actions@a6580aa

​Package operations: 22 installs, 0 updates, 0 removals

  - Installing click (8.3.1)
  - Installing mccabe (0.7.0)
  - Installing mypy-extensions (1.1.0)
  - Installing packaging (25.0)
  - Installing pathspec (0.12.1)
  - Installing platformdirs (4.5.1)
  - Installing pycodestyle (2.9.1)
  - Installing pyflakes (2.5.0)
  - Installing pytokens (0.3.0)
  - Installing snowballstemmer (3.0.1)
  - Installing black (25.12.0)
  - Installing flake8 (5.0.4)
  - Installing pydocstyle (6.3.0)
  - Installing setuptools (80.9.0)
  - Installing tomli (2.3.0)
  - Installing flake8-black (0.4.0)
  - Installing flake8-docstrings (1.7.0)
  - Installing flake8-import-order (0.18.2)
  - Installing isort (7.0.0)
  - Installing pep8-naming (0.15.1)
  - Installing toml (0.10.2)
  - Installing ni-python-styleguide (0.4.7)

Installing the current project: only-ni-python-styleguide (0.1.0)
Run poetry run ni-python-styleguide lint
Traceback (most recent call last):
  File "/Users/runner/Library/Caches/pypoetry/virtualenvs/only-ni-python-styleguide-BU9xyz_x-py3.10/bin/ni-python-styleguide", line 5, in <module>
    from ni_python_styleguide._cli import main
  File "/Users/runner/Library/Caches/pypoetry/virtualenvs/only-ni-python-styleguide-BU9xyz_x-py3.10/lib/python3.10/site-packages/ni_python_styleguide/_cli.py", line 7, in <module>
    from ni_python_styleguide import _acknowledge_existing_errors
  File "/Users/runner/Library/Caches/pypoetry/virtualenvs/only-ni-python-styleguide-BU9xyz_x-py3.10/lib/python3.10/site-packages/ni_python_styleguide/_acknowledge_existing_errors/__init__.py", line 6, in <module>
    from ni_python_styleguide import _format, _utils
  File "/Users/runner/Library/Caches/pypoetry/virtualenvs/only-ni-python-styleguide-BU9xyz_x-py3.10/lib/python3.10/site-packages/ni_python_styleguide/_format.py", line 5, in <module>
    import black
  File "src/black/__init__.py", line 30, in <module>
  File "src/black/cache.py", line 22, in <module>
ModuleNotFoundError: No module named 'typing_extensions'
Error: Process completed with exit code 1.[

black 25.12.0 depends on typing_extensions for python < 3.11: black/pyproject.toml at 25.12.0 · psf/black

​"typing_extensions>=4.0.1; python_version < '3.11'",

Cc: @mshafer-NI

Copy link
Collaborator

Choose a reason for hiding this comment

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

python-poetry/poetry#5195 sounds related, but I tried installing Poetry with Python 3.10, deleting poetry.lock, and regenerating it, and it still omits typing-extensions for black 25.12.0.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading