pyproject.toml
This file
Path
pyproject.toml
133 lines · 3.6 KiB · TOML
Last changed by
Add support for zstd decoding (#3139)Michiel W. Beijenbefore adoption392dbe4
History of this fileTake it
The walk stopped after 200 commits: lines older than a934c36 point at it.
Drop private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
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"Drop private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
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",Drop private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
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 private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
lines 34–54why, one step back34 "idna",35 "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.*",47 "rich>=10,<14",48]49http2 = [50 "h2>=3,<5",51]52socks = [53 "socksio==1.*",54]Add support for zstd decoding (#3139)Michiel W. Beijenbefore adoption392dbe4
lines 55–57why, one step back55zstd = [56 "zstandard>=0.18.0",57]Drop private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
lines 58–75why, one step back5859[project.scripts]60httpx = "httpx:main"6162[project.urls]63Changelog = "https://github.com/encode/httpx/blob/master/CHANGELOG.md"64Documentation = "https://www.python-httpx.org"65Homepage = "https://github.com/encode/httpx"66Source = "https://github.com/encode/httpx"6768[tool.hatch.version]69path = "httpx/__version__.py"7071[tool.hatch.build.targets.sdist]72include = [73 "/httpx",74 "/CHANGELOG.md",75 "/README.md",Add tests and requirements.txt to sdist (#2927)Marcel Telkabefore adoption497b315
line 76why, one step back76 "/tests",Drop private imports from test_urlparse.py (#2572)Florimond Mancabefore adoptiona934c36
lines 77–97why, one step back77]7879[tool.hatch.metadata.hooks.fancy-pypi-readme]80content-type = "text/markdown"8182[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]83path = "README.md"8485[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]86text = "\n## Release Information\n\n"8788[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]89path = "CHANGELOG.md"90pattern = "\n(###.+?\n)## "9192[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]93text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n"9495[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]96pattern = 'src="(docs/img/.*?)"'97replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"'Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
line 98why, one step back98format (#3131)T-256before adoption0006ed0
line 99why, one step back99[tool.ruff.lint]Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
lines 100–102why, one step back100select = ["E", "F", "I", "B", "PIE"]101ignore = ["B904", "B028"]102format (#3131)T-256before adoption0006ed0
line 103why, one step back103[tool.ruff.lint.isort]Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
line 104why, one step back104combine-as-imports = trueMove configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0
line 105why, one step back105Define and expose the API from the same place (#3106)Kar Petrosyanbefore adoption87713d2
lines 106–108why, one step back106[tool.ruff.lint.per-file-ignores]107"__init__.py" = ["F403", "F405"]108Move configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0
lines 109–133why, one step back109[tool.mypy]110ignore_missing_imports = true111strict = true112113[[tool.mypy.overrides]]114module = "tests.*"115disallow_untyped_defs = false116check_untyped_defs = true117118[tool.pytest.ini_options]119addopts = "-rxXs"120filterwarnings = [121 "error",122 "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",123 # See: https://github.com/agronholm/anyio/issues/508124 "ignore: trio.MultiError is deprecated since Trio 0.22.0:trio.TrioDeprecationWarning"125]126markers = [127 "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",128 "network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled."129]130131[tool.coverage.run]132omit = ["venv/*", "httpx/_compat.py"]133include = ["httpx/*", "tests/*"]