Skip to content

Commit

Permalink
fix: tox does not install extras with underscores in their name
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienGrv committed Feb 4, 2025
1 parent 1132530 commit 851bb61
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ dependencies = [
decode = ["faust-cchardet==2.1.19", "chardet"]
export = ["pyarrow", "h5py", "hdf5storage>=0.1.19", "python-snappy", "polars"]
testing = ["h5py", "pyarrow", "python-can", "scipy"]
export_matlab_v5 = ["scipy"]
export-matlab-v5 = ["scipy"]
gui = ["natsort", "PySide6", "pyqtgraph", "pyqtlet2[PySide6]", "packaging"]
encryption = ["cryptography", "keyring"]
symbolic_math = ["sympy"]
symbolic-math = ["sympy"]
filesystem = ["fsspec"]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development dependencies
--editable .[decode,encryption,export,export_matlab_v5,filesystem,gui,symbolic_math]
--editable .[decode,encryption,export,export-matlab-v5,filesystem,gui,symbolic-math]
--requirement benchmarks/requirements.txt
--requirement ci/requirements.txt
--requirement doc/requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ PyAutoGUI
pytest
pytest-cov
pytest-timeout
xmlrunner; python_version < "3.12"
python-can
xmlrunner; python_version < "3.12"
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ envlist = py39, py310, py311, py312, py313, black, mypy, ruff, doc
deps =
--requirement test/requirements.txt
extras =
export
export-matlab-v5
gui
testing
passenv = DISPLAY,XAUTHORITY
setenv =
DISPLAY = :0
Expand All @@ -35,10 +36,10 @@ extras =
decode
encryption
export
export_matlab_v5
export-matlab-v5
filesystem
gui
symbolic_math
symbolic-math
commands =
mypy

Expand All @@ -64,9 +65,9 @@ extras =
decode
encryption
export
export_matlab_v5
export-matlab-v5
gui
symbolic_math
symbolic-math
commands =
pyinstaller asammdf.spec {posargs}

Expand Down

0 comments on commit 851bb61

Please sign in to comment.