Skip to content

Commit

Permalink
adjust requirements for support on pyhon 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jelitox committed Mar 6, 2023
1 parent 49fb82b commit a10acbd
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Build manylinux Python wheels
uses: RalfG/[email protected]_x86_64
with:
python-versions: 'cp38-cp38 cp39-cp39'
python-versions: 'cp39-cp39 cp310-cp310 cp311-cp311'
build-requirements: 'cython numpy'
- name: Publish wheels to Test PyPI
env:
Expand Down
18 changes: 18 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

sphinx:
configuration: docs/conf.py

formats: all

python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- all
- requirements: docs/requirements.txt

submodules:
include: all
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires = [
'setuptools >= 47',
'setuptools >= 67.5.0',
'wheel == 0.38.4',
'Cython==0.29.32'
'Cython==0.29.33'
]
build-backend = "setuptools.build_meta"

Expand All @@ -17,9 +17,9 @@ classifiers=[
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Typing :: Typed",
"Environment :: Web Environment",
Expand All @@ -32,7 +32,7 @@ classifiers=[
"License :: OSI Approved :: BSD License",
]
description-file = "README.md"
requires-python = ">=3.8.1"
requires-python = ">=3.9.16"

[tool.pytest.ini_options]
addopts = [
Expand Down
97 changes: 49 additions & 48 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def readme():
setup(
name="asyncdb",
version=__version__,
python_requires=">=3.8.0",
python_requires=">=3.9.16",
url="https://github.com/phenobarbital/asyncdb",
description=__description__,
keywords=['asyncio', 'asyncpg', 'aioredis', 'aiomcache', 'cassandra'],
Expand All @@ -85,9 +85,9 @@ def readme():
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database :: Front-Ends",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Framework :: AsyncIO",
],
Expand All @@ -98,98 +98,98 @@ def readme():
license=__license__,
setup_requires=[
"wheel==0.38.4",
"Cython==0.29.32",
"Cython==0.29.33",
],
install_requires=[
"numpy==1.23.4",
"cryptography==37.0.4",
"aiohttp==3.8.3",
"numpy==1.24.2",
"cryptography==39.0.2",
"aiohttp==3.8.4",
"asyncpg==0.27.0",
"uvloop==0.17.0",
"asyncio==3.4.3",
"cchardet==2.1.7",
"faust-cchardet==2.1.18",
"pandas==1.5.3",
"xlrd==2.0.1",
"openpyxl==3.0.10",
"lz4==4.0.2",
"typing_extensions==4.4.0",
"openpyxl==3.1.1",
"lz4==4.3.2",
"typing_extensions==4.5.0",
"urllib3==1.26.14",
"charset-normalizer>=2.0.7",
"ciso8601==2.2.0",
"ciso8601==2.3.0",
"iso8601==1.1.0",
"pgpy==0.6.0",
"python-magic==0.4.27",
"dateparser==1.1.4",
"dateparser==1.1.7",
"python-datamodel>=0.1.14",
"aiosqlite>=0.15.0",
"aiosqlite>=0.18.0",
],
extras_require={
"default": [
"aioredis==2.0.1",
"pylibmc==1.6.3",
"aiomcache==0.8.0",
"aiosqlite>=0.15.0",
"aiomcache==0.8.1",
"aiosqlite>=0.18.0",
"cassandra-driver==3.25.0",
"rethinkdb==2.4.9",
"influxdb==5.3.1",
"influxdb-client==1.35.0",
"influxdb-client==1.36.1",
"pymssql==2.2.7",
],
"dataframe": [
"dask==2023.1.1",
"dask==2023.3.0",
"datatable==1.0.0",
"polars==0.16.2",
"polars==0.16.11",
"pyarrow==11.0.0",
"connectorx==0.3.1",
"pyspark==3.3.1"
"pyspark==3.3.2"
],
"pyspark": [
"pyspark==3.3.1"
"pyspark==3.3.2"
],
"sqlite": [
"aiosqlite>=0.15.0",
"aiosqlite>=0.18.0",
],
"memcache": [
"pylibmc==1.6.3",
"aiomcache==0.8.0",
"aiomcache==0.8.1",
],
"redis": [
"jsonpath-rw==1.4.0",
"jsonpath-rw-ext==1.2.2",
"redis==4.4.2",
"redis==4.5.1",
"aioredis==2.0.1",
"hiredis==2.2.1",
"hiredis==2.2.2",
"objectpath==0.6.1",
],
"rethinkdb": [
"rethinkdb==2.4.9",
],
"postgres": [
"aiopg==1.4.0",
"psycopg2-binary>=2.9.1",
"psycopg2-binary>=3.1.8",
],
"postgresql": [
"asyncpg==0.27.0",
],
"mysql": [
"asyncmy==0.2.5",
"asyncmy==0.2.7",
"mysqlclient==2.1.1"
],
"mariadb": [
"aiomysql==0.1.1"
],
"boto3": [
"botocore==1.27.59",
"boto3==1.24.59",
"botocore==1.29.84",
"boto3==1.26.84",
"aiobotocore==2.4.2",
"aioboto3==10.4.0"
"aioboto3==11.0.0"
],
"cassandra": [
"cassandra-driver==3.25.0",
],
"influxdb": [
"influxdb==5.3.1",
"influxdb-client==1.35.0",
"influxdb-client==1.36.1",
],
"odbc": [
"aioodbc==0.3.3",
Expand All @@ -202,20 +202,20 @@ def readme():
"oracledb==1.2.2"
],
"sqlalchemy": [
"sqlalchemy==1.4.46",
"sqlalchemy==2.0.4",
],
"elasticsearch": [
"elasticsearch[async]==8.6.1",
"elasticsearch[async]==8.6.2",
],
"mongodb": [
"pymongo==4.3.3",
"motor==3.0.0",
"motor==3.1.1",
],
"msqlserver": [
"pymssql==2.2.7",
],
"couchbase": [
"couchbase==4.0.5"
"couchbase==4.1.2"
],
"couchdb": [
"aiocouch==2.2.2"
Expand All @@ -224,47 +224,47 @@ def readme():
"hazelcast-python-client==5.1"
],
"all": [
"dask==2023.1.1",
"dask==2023.3.0,
"datatable==1.0.0",
"polars==0.16.2",
"polars==0.16.11",
"pyarrow==11.0.0",
"connectorx==0.3.1",
"aiosqlite>=0.15.0",
"aiosqlite>=0.18.0",
"pylibmc==1.6.3",
"aiomcache==0.8.0",
"aiomcache==0.8.1",
"jsonpath-rw==1.4.0",
"jsonpath-rw-ext==1.2.2",
"aioredis==2.0.1",
"objectpath==0.6.1",
"rethinkdb==2.4.9",
"aiopg==1.4.0",
"psycopg2-binary>=2.9.1",
"psycopg2-binary>=3.1.8",
"cassandra-driver==3.25.0",
"influxdb==5.3.1",
"influxdb-client==1.35.0",
"influxdb-client==1.36.1",
"aioodbc==0.3.3",
"JayDeBeApi==1.2.3",
"pyodbc==4.0.35",
"sqlalchemy==1.4.46",
"elasticsearch[async]==8.6.1",
"sqlalchemy==2.0.4",
"elasticsearch[async]==8.6.2",
"pymongo==4.3.3",
"motor==3.1.1",
"pymssql==2.2.7",
"couchbase==4.0.5",
"couchbase==4.1.2",
"aiocouch==2.2.2",
"asyncmy==0.2.5",
"asyncmy==0.2.7",
"mysqlclient==2.1.1",
"aiomysql==0.1.1",
"pyspark==3.3.1",
"pyspark==3.3.2",
"oracledb==1.2.2",
"hazelcast-python-client==5.1",
]
},
tests_require=[
'pytest>=6.0.0',
'pytest>=7.2.2',
'pytest-asyncio==0.20.3',
'pytest-xdist==3.1.0',
'pytest-assume==2.4.2'
'pytest-xdist==3.2.0',
'pytest-assume==2.4.3'
],
test_suite='tests',
ext_modules=cythonize(extensions),
Expand All @@ -274,3 +274,4 @@ def readme():
"Say Thanks!": "https://saythanks.io/to/phenobarbital",
},
)

0 comments on commit a10acbd

Please sign in to comment.