Skip to content
Myr

pyproject.toml

This file

Path

pyproject.toml

132 lines · 3.6 KiB · TOML

Last changed by

Introduce new `SSLContext` API & escalate deprecations. (#3319)Tom Christiebefore adoption8e36f2b

History of this file

Take it

The walk stopped after 200 commits: lines older than 859038a point at it.

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 1–8why, one step back
1[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 back
9requires-python = ">=3.8"

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 10–26why, one step back
10authors = [
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 back
27 "Programming Language :: Python :: 3.12",

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 28–31why, one step back
28 "Topic :: Internet :: WWW/HTTP",
29]30dependencies = [31 "certifi",

📌 pin httpcore==1.* (#2937)Wenceslas Sanchezbefore adoption89cbd3c

line 32why, one step back
32 "httpcore==1.*",

Support newer versions of httpcore (#2885)Paul Schreiberbefore adoption280a89a

line 33why, one step back
33 "anyio",

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 34–53why, one step back
34 "idna",
35]36dynamic = ["readme", "version"]3738[project.optional-dependencies]39brotli = [40 "brotli; platform_python_implementation == 'CPython'",41 "brotlicffi; platform_python_implementation != 'CPython'",42]43cli = [44 "click==8.*",45 "pygments==2.*",46 "rich>=10,<14",47]48http2 = [49 "h2>=3,<5",50]51socks = [52 "socksio==1.*",53]

Add support for zstd decoding (#3139)Michiel W. Beijenbefore adoption392dbe4

lines 54–56why, one step back
54zstd = [
55 "zstandard>=0.18.0",56]

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 57–74why, one step back
57
58[project.scripts]59httpx = "httpx:main"6061[project.urls]62Changelog = "https://github.com/encode/httpx/blob/master/CHANGELOG.md"63Documentation = "https://www.python-httpx.org"64Homepage = "https://github.com/encode/httpx"65Source = "https://github.com/encode/httpx"6667[tool.hatch.version]68path = "httpx/__version__.py"6970[tool.hatch.build.targets.sdist]71include = [72 "/httpx",73 "/CHANGELOG.md",74 "/README.md",

Add tests and requirements.txt to sdist (#2927)Marcel Telkabefore adoption497b315

line 75why, one step back
75 "/tests",

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 76–97why, one step back
76]
7778[tool.hatch.metadata.hooks.fancy-pypi-readme]79content-type = "text/markdown"8081[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]82path = "README.md"8384[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]85text = "\n## Release Information\n\n"8687[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]88path = "CHANGELOG.md"89pattern = "\n(###.+?\n)## "9091[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]92text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n"9394[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]95pattern = 'src="(docs/img/.*?)"'96replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"'97

format (#3131)T-256before adoption0006ed0

line 98why, one step back
98[tool.ruff.lint]

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

lines 99–101why, one step back
99select = ["E", "F", "I", "B", "PIE"]
100ignore = ["B904", "B028"]101

format (#3131)T-256before adoption0006ed0

line 102why, one step back
102[tool.ruff.lint.isort]

Add httpx-sse to Third Party Packages (#2683)Florimond Mancabefore adoption859038a

line 103why, one step back
103combine-as-imports = true

Move configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0

line 104why, one step back
104

Define and expose the API from the same place (#3106)Kar Petrosyanbefore adoption87713d2

lines 105–107why, one step back
105[tool.ruff.lint.per-file-ignores]
106"__init__.py" = ["F403", "F405"]107

Move configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0

lines 108–130why, one step back
108[tool.mypy]
109ignore_missing_imports = true110strict = true111112[[tool.mypy.overrides]]113module = "tests.*"114disallow_untyped_defs = false115check_untyped_defs = true116117[tool.pytest.ini_options]118addopts = "-rxXs"119filterwarnings = [120 "error",121 "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",122 # See: https://github.com/agronholm/anyio/issues/508123 "ignore: trio.MultiError is deprecated since Trio 0.22.0:trio.TrioDeprecationWarning"124]125markers = [126 "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",127 "network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled."128]129130[tool.coverage.run]

Introduce new `SSLContext` API & escalate deprecations. (#3319)Tom Christiebefore adoption8e36f2b

line 131why, one step back
131omit = ["venv/*"]

Move configuration of tools to pyproject.toml (#2686)Bartosz Sokorskibefore adoptiondf5dbc0

line 132why, one step back
132include = ["httpx/*", "tests/*"]