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

Use Poetry dependency groups and drop nox-poetry #679

Draft
wants to merge 81 commits into
base: main
Choose a base branch
from

Conversation

cjolowicz
Copy link
Owner

@cjolowicz cjolowicz commented Nov 13, 2021

  Traceback (most recent call last):
    File ".../.nox/pre-commit/lib/python3.10/site-packages/flake8/plugins/manager.py", line 161, in load_plugin
      self._load()
    File ".../.nox/pre-commit/lib/python3.10/site-packages/flake8/plugins/manager.py", line 138, in _load
      self._plugin = self.entry_point.load()
    File "~/.pyenv/versions/3.10.0rc1/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
      module = import_module(match.group('module'))
    File "~/.pyenv/versions/3.10.0rc1/lib/python3.10/importlib/__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 883, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File ".../.nox/pre-commit/lib/python3.10/site-packages/flake8_bandit.py", line 7, in <module>
      from bandit.core.config import BanditConfig
    File ".../.nox/pre-commit/lib/python3.10/site-packages/bandit/__init__.py", line 21, in <module>
      __version__ = pbr.version.VersionInfo('bandit').version_string()
    File ".../.nox/pre-commit/lib/python3.10/site-packages/pbr/version.py", line 467, in version_string
      return self.semantic_version().brief_string()
    File ".../.nox/pre-commit/lib/python3.10/site-packages/pbr/version.py", line 462, in semantic_version
      self._semantic = self._get_version_from_pkg_resources()
    File ".../.nox/pre-commit/lib/python3.10/site-packages/pbr/version.py", line 439, in _get_version_from_pkg_resources
      import pkg_resources
  ModuleNotFoundError: No module named 'pkg_resources'

  During handling of the above exception, another exception occurred:

  [omitted]
we always invoke `poetry install --sync --no-root` before this command anyway
@cjolowicz cjolowicz added the ci Continuous Integration label Nov 13, 2021
@cjolowicz cjolowicz changed the title Use Poetry development dependencies and drop nox-poetry Use Poetry dependency groups and drop nox-poetry Nov 13, 2021
@eyllanesc
Copy link
Contributor

It would be nice to test the feature with Poetry 1.2.0b1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants