Skip to content

Commit

Permalink
update to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo committed Feb 27, 2024
1 parent 412a25d commit b010a39
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.10"
- "3.12"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Prep Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'

- name: Install build tools
run: |
Expand Down
3 changes: 1 addition & 2 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[mypy]
mypy_path = ./stubs/

python_version = 3.10
plugins = numpy.typing.mypy_plugin
python_version = 3.12
exclude = vardautomation/logo.txt

disallow_any_generics = True
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ python -m pip install git+https://github.com/Ichunjo/vardautomation.git -U
```

# Requirements
* Python 3.10 or newer
* **ONLY** VapourSynth r60 & the following plugins `bas`, `ffms2`, `imwri`, `lsmas`, `scxvid`, `wwxd`
* Python 3.12 or newer
* **ONLY** VapourSynth r66 & the following plugins `bas`, `ffms2`, `imwri`, `lsmas`, `scxvid`, `wwxd`
* Other modules in `requirements.txt`
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from distutils.util import convert_path
from pathlib import Path
from typing import Any, Dict

from setuptools import setup

meta: Dict[str, Any] = {}
with open(convert_path('vardautomation/_metadata.py'), encoding='utf-8') as f:
exec(f.read(), meta)
exec(Path('vardautomation/_metadata.py').read_text(), meta := dict[str, str]())

with open('README.md', encoding='utf-8') as fh:
long_description = fh.read()
Expand Down Expand Up @@ -34,6 +33,6 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
python_requires='>=3.12',
install_requires=install_requires,
)

0 comments on commit b010a39

Please sign in to comment.