pyproject.toml
This file
Path
pyproject.toml
130 lines · 3.6 KiB · TOML
Last changed by
format (#3131)T-256before adoption0006ed0
History of this fileTake it
The walk stopped after 200 commits: lines older than 0eb97fc point at it.
Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 1–8why, one step back1[build-system]2requires = ["hatchling", "hatch-fancy-pypi-readme"]3build-backend = "hatchling.build"45[project]6name = "httpx"7description = "The next generation HTTP client."8license = "BSD-3-Clause"Drop support for Python 3.7 (#2813)Iurii Plinerbefore adoptionb40c04d
line 9why, one step back9requires-python = ">=3.8"Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 10–26why, one step back10authors = [11 { name = "Tom Christie", email = "tom@tomchristie.com" },12]13classifiers = [14 "Development Status :: 4 - Beta",15 "Environment :: Web Environment",16 "Framework :: AsyncIO",17 "Framework :: Trio",18 "Intended Audience :: Developers",19 "License :: OSI Approved :: BSD License",20 "Operating System :: OS Independent",21 "Programming Language :: Python :: 3",22 "Programming Language :: Python :: 3 :: Only",23 "Programming Language :: Python :: 3.8",24 "Programming Language :: Python :: 3.9",25 "Programming Language :: Python :: 3.10",26 "Programming Language :: Python :: 3.11",Add support for Python 3.12 (#2854)Hugo van Kemenadebefore adoption7c9db49
line 27why, one step back27 "Programming Language :: Python :: 3.12",Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 28–31why, one step back28 "Topic :: Internet :: WWW/HTTP",29]30dependencies = [31 "certifi",📌 pin httpcore==1.* (#2937)Wenceslas Sanchezbefore adoption89cbd3c
line 32why, one step back32 "httpcore==1.*",Support newer versions of httpcore (#2885)Paul Schreiberbefore adoption280a89a
line 33why, one step back33 "anyio",Drop `rfc3986` requirement. (#2252)Tom Christiebefore adoption57daabf
line 34why, one step back34 "idna",Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 35–46why, one step back35 "sniffio",36]37dynamic = ["readme", "version"]3839[project.optional-dependencies]40brotli = [41 "brotli; platform_python_implementation == 'CPython'",42 "brotlicffi; platform_python_implementation != 'CPython'",43]44cli = [45 "click==8.*",46 "pygments==2.*",Bump rich pin to allow version 13 (#2546)Michał Górnybefore adoption7c53d99
line 47why, one step back47 "rich>=10,<14",Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 48–72why, one step back48]49http2 = [50 "h2>=3,<5",51]52socks = [53 "socksio==1.*",54]5556[project.scripts]57httpx = "httpx:main"5859[project.urls]60Changelog = "https://github.com/encode/httpx/blob/master/CHANGELOG.md"61Documentation = "https://www.python-httpx.org"62Homepage = "https://github.com/encode/httpx"63Source = "https://github.com/encode/httpx"6465[tool.hatch.version]66path = "httpx/__version__.py"6768[tool.hatch.build.targets.sdist]69include = [70 "/httpx",71 "/CHANGELOG.md",72 "/README.md",Add tests and requirements.txt to sdist (#2927)Marcel Telkabefore adoption497b315
line 73why, one step back73 "/tests",Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
lines 74–82why, one step back74]7576[tool.hatch.metadata.hooks.fancy-pypi-readme]77content-type = "text/markdown"7879[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]80path = "README.md"8182[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]PyPI readme: fix screenshot links & trim changelog (#2522)Hynek Schlawackbefore adoptione4438a3
lines 83–85why, one step back83text = "\n## Release Information\n\n"8485[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]Use wsgi types from typeshed (#2478)Michael Oliverbefore adoption0eb97fc
line 86why, one step back86path = "CHANGELOG.md"PyPI readme: fix screenshot links & trim changelog (#2522)Hynek Schlawackbefore adoptione4438a3
lines 87–94why, one step back87pattern = "\n(###.+?\n)## "8889[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]90text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n"9192[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]93pattern = 'src="(docs/img/.*?)"'94replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"'Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
line 95why, one step back95format (#3131)T-256before adoption0006ed0
line 96why, one step back96[tool.ruff.lint]Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
lines 97–99why, one step back97select = ["E", "F", "I", "B", "PIE"]98ignore = ["B904", "B028"]99format (#3131)T-256before adoption0006ed0
line 100why, one step back100[tool.ruff.lint.isort]Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
line 101why, one step back101combine-as-imports = trueMove configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0
line 102why, one step back102Define and expose the API from the same place (#3106)Kar Petrosyanbefore adoption87713d2
lines 103–105why, one step back103[tool.ruff.lint.per-file-ignores]104"__init__.py" = ["F403", "F405"]105Move configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0
lines 106–130why, one step back106[tool.mypy]107ignore_missing_imports = true108strict = true109110[[tool.mypy.overrides]]111module = "tests.*"112disallow_untyped_defs = false113check_untyped_defs = true114115[tool.pytest.ini_options]116addopts = "-rxXs"117filterwarnings = [118 "error",119 "ignore: You seem to already have a custom sys.excepthook handler installed. I'll skip installing Trio's custom handler, but this means MultiErrors will not show full tracebacks.:RuntimeWarning",120 # See: https://github.com/agronholm/anyio/issues/508121 "ignore: trio.MultiError is deprecated since Trio 0.22.0:trio.TrioDeprecationWarning"122]123markers = [124 "copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup",125 "network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled."126]127128[tool.coverage.run]129omit = ["venv/*", "httpx/_compat.py"]130include = ["httpx/*", "tests/*"]