Drop Support for Python 3.7, update Dependencies
This commit is contained in:
parent
e348fc5df2
commit
532e68aba9
|
@ -27,7 +27,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
uses: abatilo/actions-poetry@v2
|
uses: abatilo/actions-poetry@v2
|
||||||
with:
|
with:
|
||||||
poetry-version: 1.5.1 # 1.6.x+ requires Python 3.8+
|
poetry-version: 1.6.1
|
||||||
- name: Install project
|
- name: Install project
|
||||||
run: poetry install --all-extras --only main
|
run: poetry install --all-extras --only main
|
||||||
- name: Build project
|
- name: Build project
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Development
|
# Development
|
||||||
|
|
||||||
This project is managed using [Poetry](https://python-poetry.org), a fantastic Python packaging and dependency manager.
|
This project is managed using [Poetry](https://python-poetry.org), a fantastic Python packaging and dependency manager.
|
||||||
Install the latest version of Poetry before continuing. Development currently requires Python 3.7+.
|
Install the latest version of Poetry before continuing. Development currently requires Python 3.8+.
|
||||||
|
|
||||||
## Set up
|
## Set up
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<img src="https://github.com/devine-dl/pywidevine/actions/workflows/ci.yml/badge.svg" alt="Build status">
|
<img src="https://github.com/devine-dl/pywidevine/actions/workflows/ci.yml/badge.svg" alt="Build status">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://pypi.org/project/pywidevine">
|
<a href="https://pypi.org/project/pywidevine">
|
||||||
<img src="https://img.shields.io/badge/python-3.7%2B-informational" alt="Python version">
|
<img src="https://img.shields.io/badge/python-3.8%2B-informational" alt="Python version">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://deepsource.io/gh/devine-dl/pywidevine">
|
<a href="https://deepsource.io/gh/devine-dl/pywidevine">
|
||||||
<img src="https://deepsource.io/gh/devine-dl/pywidevine.svg/?label=active+issues" alt="DeepSource">
|
<img src="https://deepsource.io/gh/devine-dl/pywidevine.svg/?label=active+issues" alt="DeepSource">
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -33,25 +33,25 @@ include = [
|
||||||
"Changelog" = "https://github.com/devine-dl/pywidevine/blob/master/CHANGELOG.md"
|
"Changelog" = "https://github.com/devine-dl/pywidevine/blob/master/CHANGELOG.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.7,<4.0"
|
python = ">=3.8,<4.0"
|
||||||
protobuf = "^4.24.4"
|
protobuf = "^4.25.1"
|
||||||
pymp4 = "^1.4.0"
|
pymp4 = "^1.4.0"
|
||||||
pycryptodome = "^3.19.0"
|
pycryptodome = "^3.19.0"
|
||||||
click = "^8.1.7"
|
click = "^8.1.7"
|
||||||
requests = "^2.31.0"
|
requests = "^2.31.0"
|
||||||
Unidecode = "^1.3.7"
|
Unidecode = "^1.3.7"
|
||||||
PyYAML = "^6.0.1"
|
PyYAML = "^6.0.1"
|
||||||
aiohttp = {version = "^3.8.6", optional = true}
|
aiohttp = {version = "^3.9.1", optional = true}
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pre-commit = "^2.2.1"
|
pre-commit = "^3.5.0"
|
||||||
mypy = "^1.4.1"
|
mypy = "^1.7.1"
|
||||||
mypy-protobuf = "^3.4.0"
|
mypy-protobuf = "^3.5.0"
|
||||||
types-protobuf = "^4.24.0.4"
|
types-protobuf = "^4.24.0.4"
|
||||||
types-requests = "^2.31.0.10"
|
types-requests = "^2.31.0.10"
|
||||||
types-PyYAML = "^6.0.12.12"
|
types-PyYAML = "^6.0.12.12"
|
||||||
isort = "^5.11.5"
|
isort = "^5.12.0"
|
||||||
ruff = "~0.1.4"
|
ruff = "~0.1.7"
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
serve = ["aiohttp", "PyYAML"]
|
serve = ["aiohttp", "PyYAML"]
|
||||||
|
|
Loading…
Reference in New Issue