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

ImportError with tox 4 #45

Open
Cielquan opened this issue Dec 16, 2022 · 0 comments
Open

ImportError with tox 4 #45

Cielquan opened this issue Dec 16, 2022 · 0 comments
Assignees
Labels
bug Something isn't working stale

Comments

@Cielquan
Copy link

Description

The plugin does not work with tox 4 and raises this error: ImportError: cannot import name 'reporter' from 'tox'.
Related: #32

Steps to Reproduce

Create a tox config with this plugin. Because tox will create a .tox env so it can use this plugin it will also install tox 4 there.

Actual result:

  File "/home/krys/Projects/verbum/.tox/.tox/lib/python3.11/site-packages/tox_envlist/__init__.py", line 43, in <module>
    from tox import config, reporter  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'reporter' from 'tox'

Expected result:

no error

Reproduces how often:

Easily reproduced

Version

  • Operating System: linux
  • Python: 3.11
  • tox-envlist: 0.3.0

Installation source

PyPI

Other Additional Information:

The feature this plugin provides is now available in tox 4 out of the box known as labels. They can be run via the -m flag.

@Cielquan Cielquan added the bug Something isn't working label Dec 16, 2022
@stale stale bot added the stale label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants