Skip to content

Commit 98470f4

Browse files
authored
Добавил поддержку еще нескольких версий (#6)
1 parent dc5f798 commit 98470f4

5 files changed

Lines changed: 47 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ poetry add avito-py
3838
pip install avito-py
3939
```
4040

41-
Требование к интерпретатору: Python `3.14` и выше в рамках ветки `3.x`. Репозиторий и релизный контур валидируются именно на Python `3.14`.
41+
Требование к интерпретатору: Python `3.12`, `3.13` или `3.14`.
4242

4343
## Инициализация клиента
4444

STYLEGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Minimum target `mypy` profile:
347347

348348
```toml
349349
[tool.mypy]
350-
python_version = "3.14"
350+
python_version = "3.12"
351351
strict = true
352352
warn_unused_ignores = true
353353
warn_redundant_casts = true

docs/site/tutorials/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
pip install avito-py
1515
```
1616

17-
Требования: Python 3.14 и выше.
17+
Требования: Python 3.12, 3.13 или 3.14.
1818

1919
---
2020

poetry.lock

Lines changed: 39 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ classifiers=[
1919
"Intended Audience :: Information Technology",
2020
"Natural Language :: Russian",
2121
"Natural Language :: English",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2224
"Programming Language :: Python :: 3.14",
2325
]
2426

2527
[tool.poetry.dependencies]
26-
python = "^3.14"
28+
python = ">=3.12,<4.0"
2729
httpx = "^0.28.1"
2830

2931
[tool.poetry.group.dev.dependencies]
@@ -64,7 +66,7 @@ skip_empty = true
6466
show_missing = true
6567

6668
[tool.mypy]
67-
python_version = "3.14"
69+
python_version = "3.12"
6870
strict = true
6971
warn_unused_ignores = true
7072
warn_redundant_casts = true
@@ -75,7 +77,7 @@ packages = ["avito"]
7577
exclude = ["tests"]
7678

7779
[tool.ruff]
78-
target-version = "py314"
80+
target-version = "py312"
7981
line-length = 100
8082

8183
[tool.ruff.lint]

0 commit comments

Comments
 (0)