Skip to content

Commit 563fe3b

Browse files
committed
Upgrade SQLAlchemy recipe to 2.0.40
1 parent 957a3e5 commit 563fe3b

3 files changed

Lines changed: 23 additions & 14 deletions

File tree

pythonforandroid/recipes/sqlalchemy/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
class SQLAlchemyRecipe(CompiledComponentsPythonRecipe):
55
name = 'sqlalchemy'
6-
version = '1.3.3'
7-
url = 'https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-{version}.tar.gz'
6+
version = '2.0.40'
7+
url = 'https://files.pythonhosted.org/packages/68/c3/3f2bfa5e4dcd9938405fe2fab5b6ab94a9248a4f9536ea2fd497da20525f/sqlalchemy-2.0.40.tar.gz'
88
call_hostpython_via_targetpython = False
99

10-
depends = ['setuptools']
10+
depends = ['setuptools', 'typing_extensions']
1111

12-
patches = ['zipsafe.patch']
12+
patches = ['zipsafe.patch', 'typing_extensions.patch']
1313

1414

1515
recipe = SQLAlchemyRecipe()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- sqlalchemy-2.0.40/pyproject.toml
2+
+++ sqlalchemy-2.0.40/pyproject.toml
3+
@@ -3,7 +3,6 @@
4+
requires = [
5+
"setuptools>=61.0",
6+
"cython>=0.29.24; platform_python_implementation == 'CPython'", # Skip cython when using pypy
7+
- "typing_extensions",
8+
]
9+
10+
[tool.black]
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
--- a/setup.py 2019-04-15 17:45:03.000000000 +0200
2-
+++ b/setup.py 2019-04-16 20:12:19.056710749 +0200
3-
@@ -145,6 +145,7 @@
4-
name="SQLAlchemy",
5-
version=VERSION,
6-
description="Database Abstraction Library",
7-
+ zip_safe=False,
8-
author="Mike Bayer",
9-
author_email="mike_mp@zzzcomputing.com",
10-
url="http://www.sqlalchemy.org",
1+
--- sqlalchemy-2.0.40/setup.py
2+
+++ sqlalchemy-2.0.40/setup.py
3+
@@ -78,4 +78,4 @@
4+
ext_modules = []
5+
cmdclass = {}
6+
7+
-setup(cmdclass=cmdclass, ext_modules=ext_modules)
8+
+setup(cmdclass=cmdclass, ext_modules=ext_modules, zip_safe=False)
9+

0 commit comments

Comments
 (0)