-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 3.57 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 3.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = [
"flit_core>=3.7.1,<3.8.1",
]
build-backend = "pep517"
backend-path = ["backends"]
[project]
name = "awscli"
description = "Universal Command Line Environment for AWS."
authors = [
{name = "Amazon Web Services"},
]
license = { file = "LICENSE.txt" }
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"colorama>=0.2.5,<0.4.7",
"docutils>=0.10,<0.20",
"cryptography>=3.3.2,<40.0.2",
"ruamel.yaml>=0.15.0,<=0.17.27",
# ruamel.yaml only requires ruamel.yaml.clib for Python versions
# less than or equal to Python 3.10. In order to ensure we have
# a consistent dependency closure across all Python versions,
# we explicitly include ruamel.yaml.clib as a dependency.
"ruamel.yaml.clib>=0.2.0,<=0.2.7",
"prompt-toolkit>=3.0.24,<3.0.39",
"distro>=1.5.0,<1.9.0",
"awscrt>=0.12.4,<=0.16.16",
"python-dateutil>=2.1,<3.0.0",
"jmespath>=0.7.1,<1.1.0",
"urllib3>=1.25.4,<1.27",
]
dynamic = ["version"]
[project.urls]
homepage = "http://aws.amazon.com/cli/"
[tool.awscli.sdist]
include = [
"backends/**/*.py",
"bin/*",
"CHANGELOG.rst",
"tests/**/*",
"requirements/**/*.txt",
"configure",
"Makefile.in",
"exe/**/*",
]
# end of cli sdist tool section
[tool.pytest.ini_options]
# We set error warning filters in order to enforce that particular
# undesired warnings are not emitted as part of the codebase. If you
# want to override these filters with pytest's default warning filters
# (i.e. print out deprecation warnings instead of erroring out on them),
# you can run pytest with the -Wd flag.
filterwarnings = [
# Prevents declaring tests that cannot be collected by pytest
"error::pytest.PytestCollectionWarning",
# Prevents use of functionality that is deprecated or pending deprecation
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
# Do not error out on deprecation warnings stemming from our current
# version of setuptools (57.5.0) in a Python 3.10 environment. When we add
# support for the latest version of setuptools, we should be able to remove
# these filters.
'default:The distutils\.sysconfig module is deprecated:DeprecationWarning',
# Python 3.10.9 introduced a new DeprecationWarning for the implicit
# creation of event loops. Python plans to remove this warning in the
# next patch. This filter exception should also be removed once it's
# confirmed that tests are passing again in the latest Python 3.10.
# https://github.com/python/cpython/issues/100160
'default:There is no current event loop:DeprecationWarning',
# pytest-cov is incompatible with pytest-xdist 3.x because pytest-cov
# uses the config variable for rsyncdir. This filter exception should
# be able to be removed once both of the following issues are resolved.
# https://github.com/pytest-dev/pytest-cov/issues/557
# https://github.com/pytest-dev/pytest-xdist/issues/825
'default:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning'
]
[tool.black]
line-length = 80