lower min python required version to 3.9

python ver test matrix added to hatch config

minor version bump
This commit is contained in:
onyx-and-iris 2022-12-05 16:49:17 +00:00
parent 41b0dfbe4b
commit cc9b1e2c72
4 changed files with 19 additions and 9 deletions

View File

@ -5,7 +5,6 @@
# A Python SDK for OBS Studio WebSocket v5.0 # A Python SDK for OBS Studio WebSocket v5.0
This is a wrapper around OBS Websocket.
Not all endpoints in the official documentation are implemented. Not all endpoints in the official documentation are implemented.
## Requirements ## Requirements
@ -13,7 +12,7 @@ Not all endpoints in the official documentation are implemented.
- [OBS Studio](https://obsproject.com/) - [OBS Studio](https://obsproject.com/)
- [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0) - [OBS Websocket v5 Plugin](https://github.com/obsproject/obs-websocket/releases/tag/5.0.0)
- With the release of OBS Studio version 28, Websocket plugin is included by default. But it should be manually installed for earlier versions of OBS. - With the release of OBS Studio version 28, Websocket plugin is included by default. But it should be manually installed for earlier versions of OBS.
- Python 3.10 or greater - Python 3.9 or greater
### How to install using pip ### How to install using pip

View File

@ -1 +1 @@
version = "1.3.0" version = "1.4.0"

View File

@ -8,7 +8,7 @@ dynamic = ["version"]
description = "A Python SDK for OBS Studio WebSocket v5.0" description = "A Python SDK for OBS Studio WebSocket v5.0"
readme = "README.md" readme = "README.md"
license = "GPL-3.0-only" license = "GPL-3.0-only"
requires-python = ">=3.10" requires-python = ">=3.9"
authors = [ authors = [
{ name = "Adem Atikturk", email = "aatikturk@gmail.com" }, { name = "Adem Atikturk", email = "aatikturk@gmail.com" },
] ]
@ -37,7 +37,18 @@ include = [
] ]
[tool.hatch.envs.e.scripts] [tool.hatch.envs.e.scripts]
events = "py {root}\\examples\\events\\." events = "python {root}\\examples\\events\\."
hotkeys = "py {root}\\examples\\hotkeys\\." hotkeys = "python {root}\\examples\\hotkeys\\."
levels = "py {root}\\examples\\levels\\." levels = "python {root}\\examples\\levels\\."
scene_rotate = "py {root}\\examples\\scene_rotate\\." scene_rotate = "python {root}\\examples\\scene_rotate\\."
[tool.hatch.envs.test]
dependencies = [
"pytest",
]
[tool.hatch.envs.test.scripts]
run = 'pytest -v'
[[tool.hatch.envs.test.matrix]]
python = ["39", "310", "311"]

View File

@ -40,7 +40,7 @@ EXTRAS_REQUIRE = {
} }
# Python version requirement # Python version requirement
PYTHON_REQUIRES = ">=3.10" PYTHON_REQUIRES = ">=3.9"
setup( setup(
name=PACKAGE_NAME, name=PACKAGE_NAME,