Skip to content

Commit

Permalink
Bumpy pyodbc dependency to unlock py3.11 (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Mar 16, 2023
1 parent 4493371 commit 1066dfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ flake8==3.9.2
ipdb==0.13.13
ipython==8.11.0
isort==5.12.0
pyodbc==4.0.31
pyodbc==4.0.35
pytest-asyncio==0.15.1
pytest-cov==4.0.0
pytest-faulthandler==2.0.1
Expand Down
17 changes: 7 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import os
import re
import sys

from setuptools import find_packages, setup

install_requires = ["pyodbc"]

PY_VER = sys.version_info

if not PY_VER >= (3, 5):
raise RuntimeError("aioodbc doesn't support Python earlier than 3.5")
install_requires = ["pyodbc>=4.0.35"]


def read(f):
Expand All @@ -35,8 +29,11 @@ def read_version():
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: POSIX",
"Environment :: Web Environment",
"Development Status :: 3 - Alpha",
Expand All @@ -59,7 +56,7 @@ def read_version():
download_url="https://pypi.python.org/pypi/aioodbc",
license="Apache 2",
packages=find_packages(),
python_requires=">=3.5",
python_requires=">=3.7",
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
Expand Down

0 comments on commit 1066dfe

Please sign in to comment.