@@ -14,42 +14,42 @@ readme = "README.md"
14
14
dependencies = [
15
15
' defusedxml>=0.7.1' , # latest as at 7/31/23
16
16
' packaging>=23.1' , # latest as at 7/31/23
17
- ' requests>=2.31 ' , # latest as at 7/31/23
18
- ' urllib3== 2.2.2' , # dependabot
17
+ ' requests>=2.32 ' , # latest as at 7/31/23
18
+ ' urllib3>= 2.2.2,<3 ' ,
19
19
' typing_extensions>=4.0.1' ,
20
20
]
21
- requires-python = " >=3.7 "
21
+ requires-python = " >=3.9 "
22
22
classifiers = [
23
23
" Programming Language :: Python" ,
24
24
" Programming Language :: Python :: 3" ,
25
- " Programming Language :: Python :: 3.8" ,
26
25
" Programming Language :: Python :: 3.9" ,
27
26
" Programming Language :: Python :: 3.10" ,
28
27
" Programming Language :: Python :: 3.11" ,
29
- " Programming Language :: Python :: 3.12"
28
+ " Programming Language :: Python :: 3.12" ,
29
+ " Programming Language :: Python :: 3.13"
30
30
]
31
31
[project .urls ]
32
32
repository = " https://github.com/tableau/server-client-python"
33
33
34
34
[project .optional-dependencies ]
35
- test = [" black==23.7 " , " build" , " mypy==1.4" , " pytest>=7.0" , " pytest-cov" , " pytest-subtests" ,
35
+ test = [" black==24.8 " , " build" , " mypy==1.4" , " pytest>=7.0" , " pytest-cov" , " pytest-subtests" ,
36
36
" requests-mock>=1.0,<2.0" ]
37
37
38
38
[tool .black ]
39
39
line-length = 120
40
- target-version = [' py37 ' , ' py38 ' , ' py39' , ' py310' , ' py311' , ' py312' ]
40
+ target-version = [' py39' , ' py310' , ' py311' , ' py312' , ' py313 ' ]
41
41
42
42
[tool .mypy ]
43
43
check_untyped_defs = false
44
44
disable_error_code = [
45
45
' misc' ,
46
- # tableauserverclient\server\endpoint\datasources_endpoint.py:48: error: Cannot assign multiple types to name "FilePath" without an explicit "Type[...]" annotation [misc]
47
46
' annotation-unchecked' # can be removed when check_untyped_defs = true
48
47
]
49
- files = [" tableauserverclient" , " test" ]
48
+ files = [" tableauserverclient" , " test" , " samples " ]
50
49
show_error_codes = true
51
50
ignore_missing_imports = true # defusedxml library has no types
52
51
no_implicit_reexport = true
52
+ implicit_optional = true
53
53
54
54
[tool .pytest .ini_options ]
55
55
testpaths = [" test" ]
0 commit comments