|
1 | 1 | from setuptools import setup, find_packages |
2 | 2 |
|
3 | | -VERSION = "8.6.1" |
| 3 | +VERSION = "9.0.0" |
4 | 4 |
|
5 | 5 | CLASSIFIERS = [ |
6 | 6 | "Development Status :: 4 - Beta", |
7 | 7 | "Environment :: Console", |
8 | 8 | "Operating System :: OS Independent", |
9 | 9 | "License :: OSI Approved :: MIT License", |
10 | 10 | "Programming Language :: Python", |
11 | | - "Programming Language :: Python :: 3.6", |
12 | | - "Programming Language :: Python :: 3.7", |
13 | 11 | "Programming Language :: Python :: 3.8", |
14 | 12 | "Programming Language :: Python :: 3.9", |
15 | 13 | "Programming Language :: Python :: 3.10", |
16 | 14 | "Programming Language :: Python :: 3.11", |
| 15 | + "Programming Language :: Python :: 3.12", |
17 | 16 | "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", |
18 | 17 | ] |
19 | 18 |
|
20 | 19 | EXTRAS_REQUIRE = { |
21 | | - "enum": [ |
22 | | - "marshmallow-enum; python_version < '3.7'", |
23 | | - "marshmallow>=3.18.0,<4.0; python_version >= '3.7'", |
24 | | - ], |
25 | | - "union": ["typeguard>=2.4.1,<5.0.0"], |
26 | 20 | "lint": ["pre-commit~=2.17"], |
27 | | - ':python_version == "3.6"': ["dataclasses", "types-dataclasses<0.6.4"], |
28 | 21 | "docs": ["sphinx"], |
29 | 22 | "tests": [ |
30 | 23 | "pytest>=5.4", |
|
34 | 27 | ], |
35 | 28 | } |
36 | 29 | EXTRAS_REQUIRE["dev"] = ( |
37 | | - EXTRAS_REQUIRE["enum"] |
38 | | - + EXTRAS_REQUIRE["union"] |
39 | | - + EXTRAS_REQUIRE["lint"] |
40 | | - + EXTRAS_REQUIRE["docs"] |
41 | | - + EXTRAS_REQUIRE["tests"] |
| 30 | + EXTRAS_REQUIRE["lint"] + EXTRAS_REQUIRE["docs"] + EXTRAS_REQUIRE["tests"] |
42 | 31 | ) |
43 | 32 |
|
44 | 33 | setup( |
|
56 | 45 | keywords=["marshmallow", "dataclass", "serialization"], |
57 | 46 | classifiers=CLASSIFIERS, |
58 | 47 | license="MIT", |
59 | | - python_requires=">=3.6", |
| 48 | + python_requires=">=3.8", |
60 | 49 | install_requires=[ |
61 | | - "marshmallow>=3.13.0,<4.0", |
62 | | - "typing-inspect>=0.8.0,<1.0", |
63 | | - # Need `Literal` |
64 | | - "typing-extensions>=3.7.2; python_version < '3.8'", |
| 50 | + "marshmallow>=3.18.0,", |
| 51 | + "typing-inspect~=0.9.0", |
| 52 | + "typeguard~=4.0.0", |
65 | 53 | # Need `dataclass_transform(field_specifiers)` |
66 | | - # NB: typing-extensions>=4.2.0 conflicts with python 3.6 |
67 | | - "typing-extensions>=4.2.0; python_version<'3.11' and python_version>='3.7'", |
| 54 | + "typing-extensions>=4.2.0; python_version<'3.11'", |
68 | 55 | ], |
69 | 56 | extras_require=EXTRAS_REQUIRE, |
70 | 57 | package_data={"marshmallow_dataclass": ["py.typed"]}, |
|
0 commit comments