Skip to content

Commit

Permalink
Improve SQLAlchemy version requirements readability.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Sep 23, 2024
1 parent 470d4d1 commit c25ccd0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@


tests_require = ['zope.testing']
sqlalchemy_versions = ','.join([
'>=1.1',
'!=1.4.0',
'!=1.4.1',
'!=1.4.2',
'!=1.4.3',
'!=1.4.4',
'!=1.4.5',
'!=1.4.6',
'!=2.0.32',
'!=2.0.33',
'!=2.0.34',
'!=2.0.35',
])

setup(
name='zope.sqlalchemy',
Expand Down Expand Up @@ -47,7 +61,7 @@
install_requires=[
'packaging',
'setuptools',
'SQLAlchemy>=1.1,!=1.4.0,!=1.4.1,!=1.4.2,!=1.4.3,!=1.4.4,!=1.4.5,!=1.4.6,!=2.0.32,!=2.0.33,!=2.0.34,!=2.0.35', # noqa: E501 line too long
f'SQLAlchemy{sqlalchemy_versions}',
'transaction>=1.6.0',
'zope.interface>=3.6.0',
],
Expand Down

0 comments on commit c25ccd0

Please sign in to comment.