Skip to content
Merged
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
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
# (see https://github.com/fedora-python/tox-github-action/issues/8)
# Generate it by: tox -l | sed "s/^/- /"
- py36-tox3
- py38-tox3
- py38-tox4
- py39-tox3
- py39-tox4
- py310-tox3
Expand All @@ -36,5 +34,6 @@ jobs:
- py313-tox3
- py313-tox4
- py314-tox4
- py315-tox4
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def long_description():
author_email="miro@hroncok.cz",
url="https://github.com/fedora-python/tox-current-env",
license="MIT",
version="0.0.16",
version="0.0.17",
package_dir={"": "src"},
packages=find_packages("src"),
entry_points={"tox": ["current-env = tox_current_env.hooks"]},
Expand Down
5 changes: 3 additions & 2 deletions src/tox_current_env/hooks4.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,15 @@ def python_spec_for_path(cls, path):


class PrintEnv(CurrentEnv):
def __init__(self, create_args):
super().__init__(create_args)
def register_config(self):
super().register_config()

if self.options.print_extras_to:
if "extras" not in self.conf:
# Unfortunately, if there is skipsdist/no_package or skip_install
# in the config, this section is not parsed at all so we have to
# do it here manually to be able to read its content.
# This is no longer true on tox 4.44+, but the if above guards it.
self.conf.add_config(
keys=["extras"],
of_type=Set[str],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This information is repeated in .github/workflows/main.yaml
# (see https://github.com/fedora-python/tox-github-action/issues/8)
envlist = py36-tox3,{py37,py38,py39,py310,py311,py312,py313}-tox{3,4},py314-tox4
envlist = py36-tox3,{py39,py310,py311,py312,py313}-tox{3,4},{py314,py15}-tox4

[testenv]
extras =
Expand Down
Loading