Skip to content

Commit fc10ed0

Browse files
author
Tomasz Jadczyk
committed
Downgrad dependency versions to allow package use in python 3.6.13 and above
1 parent 55b042a commit fc10ed0

File tree

5 files changed

+28
-6
lines changed

5 files changed

+28
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog of ASR API (Python)
22

3+
## [1.0.0+python36.001] - 2025-02-24
4+
5+
### Added
6+
- requirements.txt file to allow package installation in python 3.6.13 and pip 21.3 environment
7+
8+
### Changed
9+
- grpcio-tools package version to 1.38.1
10+
- protobuf package version to 3.19.5
11+
- setuptools minimal version to 59
12+
- python minimal version downgraded to 3.6.13
13+
14+
315
## [1.0.0] - 2024-08-14
416

517
### Added

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.0+python36.001

asr_api/VERSION.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0"
1+
__version__ = "1.0.0+python36.001"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["grpcio-tools>=1.49.4,<1.63", "setuptools>=61"]
2+
requires = ["grpcio-tools==1.38.1", "setuptools>=59", "protobuf>=3.19.5,<3.20"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -8,8 +8,8 @@ description = "Techmo ASR API (public)"
88
dynamic = ["version"]
99
readme = { file = "README.md", content-type = "text/markdown" }
1010
authors = [{ name = "Techmo sp. z o.o", email = "kontakt@techmo.pl" }]
11-
requires-python = ">=3.8"
12-
dependencies = ["grpcio>=1.49.4,<1.63", "protobuf>=4.21.3,<5"]
11+
requires-python = ">=3.6.13"
12+
dependencies = ["grpcio==1.38.1", "protobuf>=3.19.5,<3.20"]
1313

1414
[project.urls]
1515
repository = "https://github.com/techmo-pl/asr-api-python"

setup.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,14 @@ def build_package_protos(
6868
],
6969
)
7070

71-
setuptools.setup()
71+
install_requires=[
72+
'grpcio==1.38.1',
73+
'protobuf>=3.19.5,<3.20'
74+
]
75+
76+
setuptools.setup(
77+
name='techmo-asr-api',
78+
version='1.0.0+python36.001',
79+
install_requires=install_requires,
80+
packages=setuptools.find_packages()
81+
)

0 commit comments

Comments
 (0)