Skip to content

Remove dead/broken tox stack (tox.ini + tox + tox-pyenv)#98

Merged
martinkersner merged 1 commit into
mainfrom
issue-84-remove-dead-broken-tox-stack
Jun 30, 2026
Merged

Remove dead/broken tox stack (tox.ini + tox + tox-pyenv)#98
martinkersner merged 1 commit into
mainfrom
issue-84-remove-dead-broken-tox-stack

Conversation

@martinkersner

Copy link
Copy Markdown
Member

Summary

Deletes the dead/broken tox setup (same class as #81). CI (.github/workflows/python-package.yml) runs black/flake8/pytest directly and never invokes tox, so this is unused weight; tox-pyenv==1.1.0 is abandoned and broken against tox 4 (implements the removed tox_get_python_executable hook), and tox.ini's envlist was stale/malformed (py38,py39,310,311).

  • Remove tox.ini
  • Drop tox + tox-pyenv from requirements/requirements-test.txt
  • Drop .tox from [flake8] exclude in setup.cfg

No application code touched.

Test plan

  • flake8 . --statistics → clean (exit 0)
  • black --check --diff . → clean (28 files unchanged)
  • python -m pytest tests/ → 124 passed, 13 xpassed, 3 failed. The 3 failures are pre-existing live-endpoint flakiness (ReadTimeout / "no data found" from prod data), unrelated to this change — these are exactly the live-prod tests CI deliberately skips.

Closes #84

CI invokes pytest/black/flake8 directly, never tox. tox-pyenv 1.1.0
abandoned + broken vs tox 4 (uses removed tox_get_python_executable
hook); tox.ini envlist stale/malformed (py38/py39, 310/311). Drop
tox.ini, tox/tox-pyenv from requirements-test.txt, .tox flake8 exclude.

Closes #84
@martinkersner martinkersner self-assigned this Jun 30, 2026
@martinkersner martinkersner merged commit be2df51 into main Jun 30, 2026
7 checks passed
@martinkersner martinkersner deleted the issue-84-remove-dead-broken-tox-stack branch June 30, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dead/broken tox stack (tox.ini + tox + tox-pyenv)

1 participant