mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-06-27 07:10:24 +01:00
ensure tox tests run setup/teardown scripts
bump min python version to 3.11 (because of ExceptionGroup in tests) patch bump
This commit is contained in:
parent
37364e7243
commit
51923dc8a8
@ -19,7 +19,7 @@ For an outline of past/future changes refer to: [CHANGELOG](CHANGELOG.md)
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Python 3.10 or greater
|
- Python 3.11 or greater
|
||||||
- [Streamlabs Desktop][sl-desktop]
|
- [Streamlabs Desktop][sl-desktop]
|
||||||
- A websocket token: Settings > Remote Control > API Token
|
- A websocket token: Settings > Remote Control > API Token
|
||||||
|
|
||||||
|
17
pdm.lock
generated
17
pdm.lock
generated
@ -5,7 +5,7 @@
|
|||||||
groups = ["default", "dev"]
|
groups = ["default", "dev"]
|
||||||
strategy = ["inherit_metadata"]
|
strategy = ["inherit_metadata"]
|
||||||
lock_version = "4.5.0"
|
lock_version = "4.5.0"
|
||||||
content_hash = "sha256:b032bb4d22d3d3b10233c543cd182ac8e7ec052aa9dc03a3034a967066e85db2"
|
content_hash = "sha256:6f29a16938942eb7911abc4c1505647bb80b5275cb45ac72f9166b53ae6c0ef1"
|
||||||
|
|
||||||
[[metadata.targets]]
|
[[metadata.targets]]
|
||||||
requires_python = ">=3.10"
|
requires_python = ">=3.10"
|
||||||
@ -238,6 +238,21 @@ files = [
|
|||||||
{file = "pytest-8.4.0.tar.gz", hash = "sha256:14d920b48472ea0dbf68e45b96cd1ffda4705f33307dcc86c676c1b5104838a6"},
|
{file = "pytest-8.4.0.tar.gz", hash = "sha256:14d920b48472ea0dbf68e45b96cd1ffda4705f33307dcc86c676c1b5104838a6"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pytest-randomly"
|
||||||
|
version = "3.16.0"
|
||||||
|
requires_python = ">=3.9"
|
||||||
|
summary = "Pytest plugin to randomly order tests and control random.seed."
|
||||||
|
groups = ["dev"]
|
||||||
|
dependencies = [
|
||||||
|
"importlib-metadata>=3.6; python_version < \"3.10\"",
|
||||||
|
"pytest",
|
||||||
|
]
|
||||||
|
files = [
|
||||||
|
{file = "pytest_randomly-3.16.0-py3-none-any.whl", hash = "sha256:8633d332635a1a0983d3bba19342196807f6afb17c3eef78e02c2f85dade45d6"},
|
||||||
|
{file = "pytest_randomly-3.16.0.tar.gz", hash = "sha256:11bf4d23a26484de7860d82f726c0629837cf4064b79157bd18ec9d41d7feb26"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sniffio"
|
name = "sniffio"
|
||||||
version = "1.3.1"
|
version = "1.3.1"
|
||||||
|
@ -3,7 +3,7 @@ name = "slobs-cli"
|
|||||||
description = "A command line application for Streamlabs Desktop"
|
description = "A command line application for Streamlabs Desktop"
|
||||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||||
dependencies = ["pyslobs>=2.0.4", "asyncclick>=8.1.8"]
|
dependencies = ["pyslobs>=2.0.4", "asyncclick>=8.1.8"]
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.11"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { text = "MIT" }
|
license = { text = "MIT" }
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
@ -33,4 +33,9 @@ test.env_file = ".env"
|
|||||||
post_test.cmd = "python tests/teardown.py"
|
post_test.cmd = "python tests/teardown.py"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = ["tox-pdm>=0.7.2", "pytest>=8.4.0", "virtualenv-pyenv>=0.5.0"]
|
dev = [
|
||||||
|
"tox-pdm>=0.7.2",
|
||||||
|
"pytest>=8.4.0",
|
||||||
|
"virtualenv-pyenv>=0.5.0",
|
||||||
|
"pytest-randomly>=3.16.0",
|
||||||
|
]
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = "0.7.7"
|
__version__ = "0.7.8"
|
||||||
|
6
tox.ini
6
tox.ini
@ -1,9 +1,11 @@
|
|||||||
[tox]
|
[tox]
|
||||||
env_list = py{310,311,312}
|
env_list = py{311,312,313}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = *
|
passenv = *
|
||||||
setenv = VIRTUALENV_DISCOVERY=pyenv
|
setenv = VIRTUALENV_DISCOVERY=pyenv
|
||||||
groups = dev
|
groups = dev
|
||||||
commands =
|
commands =
|
||||||
pytest tests
|
python tests/setup.py
|
||||||
|
pytest tests
|
||||||
|
python tests/teardown.py
|
Loading…
x
Reference in New Issue
Block a user