2018-10-15 03:44:32 +08:00
|
|
|
[metadata]
|
|
|
|
name = pytest
|
|
|
|
description = pytest: simple powerful testing with Python
|
|
|
|
long_description = file: README.rst
|
2020-06-05 00:58:28 +08:00
|
|
|
long_description_content_type = text/x-rst
|
2018-10-17 03:48:39 +08:00
|
|
|
url = https://docs.pytest.org/en/latest/
|
2018-10-15 13:30:07 +08:00
|
|
|
author = Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others
|
2020-06-05 00:58:28 +08:00
|
|
|
license = MIT
|
2023-06-06 17:13:38 +08:00
|
|
|
license_files = LICENSE
|
2020-06-05 00:58:28 +08:00
|
|
|
platforms = unix, linux, osx, cygwin, win32
|
2018-10-15 03:44:32 +08:00
|
|
|
classifiers =
|
|
|
|
Development Status :: 6 - Mature
|
|
|
|
Intended Audience :: Developers
|
|
|
|
License :: OSI Approved :: MIT License
|
|
|
|
Operating System :: MacOS :: MacOS X
|
2020-06-05 00:58:28 +08:00
|
|
|
Operating System :: Microsoft :: Windows
|
|
|
|
Operating System :: POSIX
|
|
|
|
Programming Language :: Python :: 3
|
2019-05-28 07:31:52 +08:00
|
|
|
Programming Language :: Python :: 3 :: Only
|
|
|
|
Programming Language :: Python :: 3.8
|
2020-05-07 20:26:55 +08:00
|
|
|
Programming Language :: Python :: 3.9
|
2021-03-27 22:04:26 +08:00
|
|
|
Programming Language :: Python :: 3.10
|
2022-10-26 00:43:59 +08:00
|
|
|
Programming Language :: Python :: 3.11
|
2023-05-23 20:13:55 +08:00
|
|
|
Programming Language :: Python :: 3.12
|
2020-06-05 00:58:28 +08:00
|
|
|
Topic :: Software Development :: Libraries
|
|
|
|
Topic :: Software Development :: Testing
|
|
|
|
Topic :: Utilities
|
|
|
|
keywords = test, unittest
|
|
|
|
project_urls =
|
2020-12-18 00:55:36 +08:00
|
|
|
Changelog=https://docs.pytest.org/en/stable/changelog.html
|
|
|
|
Twitter=https://twitter.com/pytestdotorg
|
2020-06-05 00:58:28 +08:00
|
|
|
Source=https://github.com/pytest-dev/pytest
|
|
|
|
Tracker=https://github.com/pytest-dev/pytest/issues
|
2018-10-15 13:30:07 +08:00
|
|
|
|
|
|
|
[options]
|
|
|
|
packages =
|
|
|
|
_pytest
|
|
|
|
_pytest._code
|
2019-01-21 02:45:12 +08:00
|
|
|
_pytest._io
|
2022-10-19 22:10:49 +08:00
|
|
|
_pytest._py
|
2019-01-21 02:45:12 +08:00
|
|
|
_pytest.assertion
|
2018-10-15 13:30:07 +08:00
|
|
|
_pytest.config
|
2019-01-21 02:45:12 +08:00
|
|
|
_pytest.mark
|
2019-12-03 02:18:04 +08:00
|
|
|
pytest
|
2022-10-19 22:10:49 +08:00
|
|
|
py_modules = py
|
2020-06-05 00:58:28 +08:00
|
|
|
install_requires =
|
|
|
|
iniconfig
|
|
|
|
packaging
|
2023-08-26 14:53:45 +08:00
|
|
|
pluggy>=1.3.0,<2.0
|
2020-06-05 00:58:28 +08:00
|
|
|
colorama;sys_platform=="win32"
|
fallback to native traceback when handling ExceptionGroup (take 2) [SQUASH] (#10209)
* Squashed commit of the following:
commit 41d339c46763bbe26123e1e6504b6e32290e33e1
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 17:01:04 2022 +0800
test in all py versions
commit b3572a5a12672228c3276fc8c8e05980dfb7888a
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 16:41:06 2022 +0800
add test
commit 7166a2a51e4f99046b028b663c193d8b558c7fd4
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 16:00:07 2022 +0800
update changelog
commit b958c73d489157f0c0d4e46425083a5e2e2bc851
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Thu Jun 23 07:50:52 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit ea7f376c6ca37c40c83df0e4a1cfaaedb34bae91
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 15:48:21 2022 +0800
Fix MyPy
commit 97469beb1da40257e9a061a5e19548546c9312c4
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 15:03:48 2022 +0800
fix if ExceptionGroup not exist
commit 84e553642cd69b4d499231d733df91ebfa84c7ad
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Thu Jun 23 03:43:27 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 76bbef449b88bbd74fb5cca3b5293337a624ef03
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 11:40:41 2022 +0800
adding changelog
commit db82bebc5a4969e2083adcd97bdfd2a63bb17d98
Author: Cheukting <cheukting.ho@gmail.com>
Date: Thu Jun 23 11:33:10 2022 +0800
fall back to native when handeling to exception groups
* Typed ExceptionGroupTypes and changed to BaseExceptionGroup, fixed exceptionchain (excinfo->excinfo_, set reprcrash. Extended tests, though they're wip.
* added exceptiongroup to pre-commit-config, moved away from tuple to directly defining BaseExceptionGroup, added block comment, added match line for inner exception, changked mark.skipif to importorskip to not need top-level import, changed tox.ini a bit - only uncovered should now be py37 without exceptiongroup, due to hypothesis
* added py311-exceptiongroup to github CI, exceptiongroup is now a hard dependency on py<3.11, renamed bad variable names
* added use_coverage to ubuntu-py311
* import BaseExceptionGroup with explicit version check instead of try/catch
* removed from CI, added comments to tox and pre-commit
2022-08-18 00:16:32 +08:00
|
|
|
exceptiongroup>=1.0.0rc8;python_version<"3.11"
|
2022-04-18 02:11:17 +08:00
|
|
|
tomli>=1.0.0;python_version<"3.11"
|
2023-07-01 05:55:42 +08:00
|
|
|
python_requires = >=3.8
|
2020-06-05 00:58:28 +08:00
|
|
|
package_dir =
|
|
|
|
=src
|
|
|
|
setup_requires =
|
2020-12-13 18:10:06 +08:00
|
|
|
setuptools
|
|
|
|
setuptools-scm>=6.0
|
2020-06-05 00:58:28 +08:00
|
|
|
zip_safe = no
|
2018-10-15 03:44:32 +08:00
|
|
|
|
2018-10-15 13:30:07 +08:00
|
|
|
[options.entry_points]
|
|
|
|
console_scripts =
|
2020-06-05 00:58:28 +08:00
|
|
|
pytest=pytest:console_main
|
|
|
|
py.test=pytest:console_main
|
|
|
|
|
|
|
|
[options.extras_require]
|
|
|
|
testing =
|
|
|
|
argcomplete
|
2023-01-20 17:13:36 +08:00
|
|
|
attrs>=19.2.0
|
2020-06-05 00:58:28 +08:00
|
|
|
hypothesis>=3.56
|
|
|
|
mock
|
2021-04-24 21:09:11 +08:00
|
|
|
pygments>=2.7.2
|
2020-06-05 00:58:28 +08:00
|
|
|
requests
|
2023-05-23 20:10:46 +08:00
|
|
|
setuptools
|
2020-06-05 00:58:28 +08:00
|
|
|
xmlschema
|
2018-10-15 03:44:32 +08:00
|
|
|
|
2020-07-04 17:30:40 +08:00
|
|
|
[options.package_data]
|
|
|
|
_pytest = py.typed
|
|
|
|
pytest = py.typed
|
|
|
|
|
2013-10-03 18:35:13 +08:00
|
|
|
[build_sphinx]
|
2021-03-14 02:30:24 +08:00
|
|
|
source_dir = doc/en/
|
|
|
|
build_dir = doc/build
|
2013-10-03 18:35:13 +08:00
|
|
|
all_files = 1
|
|
|
|
|
2017-04-23 22:59:08 +08:00
|
|
|
[check-manifest]
|
|
|
|
ignore =
|
2020-06-05 00:58:28 +08:00
|
|
|
src/_pytest/_version.py
|
2017-04-23 22:59:08 +08:00
|
|
|
|
2015-07-09 20:56:56 +08:00
|
|
|
[devpi:upload]
|
|
|
|
formats = sdist.tgz,bdist_wheel
|
2019-07-08 15:04:19 +08:00
|
|
|
|
|
|
|
[mypy]
|
2019-11-19 01:12:13 +08:00
|
|
|
mypy_path = src
|
2020-05-01 19:40:17 +08:00
|
|
|
check_untyped_defs = True
|
2020-08-01 18:06:13 +08:00
|
|
|
disallow_any_generics = True
|
2019-07-08 15:04:19 +08:00
|
|
|
ignore_missing_imports = True
|
2020-01-28 05:18:35 +08:00
|
|
|
show_error_codes = True
|
2019-07-08 15:04:19 +08:00
|
|
|
strict_equality = True
|
|
|
|
warn_redundant_casts = True
|
|
|
|
warn_return_any = True
|
2020-08-04 00:15:21 +08:00
|
|
|
warn_unreachable = True
|
2019-07-08 15:04:19 +08:00
|
|
|
warn_unused_configs = True
|
2020-07-31 14:46:56 +08:00
|
|
|
no_implicit_reexport = True
|