Skip to content

Commit a9383c4

Browse files
author
legolas.zhan
committed
upgrade deps: Flask -> 3.x, SQLAlchemy -> 2.x
1 parent bd7c9d1 commit a9383c4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

setup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def gen_data(data_root='static'):
3232

3333
setup(
3434
name='hobbit-core',
35-
version='3.1.1',
35+
version='4.0.0.rc0',
3636
python_requires='>=3.7, <4',
3737
description='Hobbit - A flask project generator.',
3838
long_description=long_description,
@@ -46,6 +46,8 @@ def gen_data(data_root='static'):
4646
'Programming Language :: Python :: 3.8',
4747
'Programming Language :: Python :: 3.9',
4848
'Programming Language :: Python :: 3.10',
49+
'Programming Language :: Python :: 3.11',
50+
'Programming Language :: Python :: 3.12',
4951
'Programming Language :: Python :: Implementation :: CPython',
5052
'License :: OSI Approved :: MIT License',
5153
],
@@ -55,18 +57,19 @@ def gen_data(data_root='static'):
5557
install_requires=[],
5658
extras_require={
5759
'hobbit_core': [
58-
'Flask>=2.0,<2.3',
59-
'flask-marshmallow>=0.14.0,<1',
60+
'Flask>=3.0,<4',
61+
'flask-marshmallow>=1.0,<2',
6062
'Flask-Migrate>=4,<5',
6163
'flask-shell-ipython>=0.4.1',
62-
'SQLAlchemy>=1.4.0,< 2',
64+
'SQLAlchemy>=2.0,< 3',
6365
'Flask-SQLAlchemy>=3.0.0,<4',
66+
'marshmallow>=3.0.0,<4',
6467
'marshmallow-enum>=1.5.1,<2',
6568
'marshmallow-sqlalchemy>=0.26.1,<3',
6669
'webargs>=8.0.0,<9',
6770
'mypy-extensions>=0.4.3',
6871
'pyyaml!=6.0.0,!=5.4.0,!=5.4.1',
69-
'marshmallow>=3.0.0,<4',
72+
7073
],
7174
'hobbit': [
7275
'Click>=6.7',

0 commit comments

Comments
 (0)