Skip to content
Myr

pyproject.toml

This file

Path

pyproject.toml

92 lines · 2.4 KiB · TOML

Last changed by

Bump rich pin to allow version 13 (#2546)Michał Górnybefore adoption7c53d99

History of this file

Take it

Update package metadata (#2334)Ofek Levbefore adoption45b7cfa

lines 1–26why, 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"9requires-python = ">=3.7"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.7",24 "Programming Language :: Python :: 3.8",25 "Programming Language :: Python :: 3.9",26 "Programming Language :: Python :: 3.10",

Test under 3.11-dev (#2302)Jobefore adoption8088fc7

line 27why, one step back
27 "Programming Language :: Python :: 3.11",

Update package metadata (#2334)Ofek Levbefore adoption45b7cfa

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

Version 0.23.1 (#2442)Tom Christiebefore adoptionf11eff4

line 32why, one step back
32 "httpcore>=0.15.0,<0.17.0",

Update package metadata (#2334)Ofek Levbefore adoption45b7cfa

lines 33–45why, one step back
33 "rfc3986[idna2008]>=1.3,<2",
34 "sniffio",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.*",

Bump rich pin to allow version 13 (#2546)Michał Górnybefore adoption7c53d99

line 46why, one step back
46 "rich>=10,<14",

Update package metadata (#2334)Ofek Levbefore adoption45b7cfa

lines 47–80why, one step back
47]
48http2 = [49 "h2>=3,<5",50]51socks = [52 "socksio==1.*",53]5455[project.scripts]56httpx = "httpx:main"5758[project.urls]59Changelog = "https://github.com/encode/httpx/blob/master/CHANGELOG.md"60Documentation = "https://www.python-httpx.org"61Homepage = "https://github.com/encode/httpx"62Source = "https://github.com/encode/httpx"6364[tool.hatch.version]65path = "httpx/__version__.py"6667[tool.hatch.build.targets.sdist]68include = [69 "/httpx",70 "/CHANGELOG.md",71 "/README.md",72]7374[tool.hatch.metadata.hooks.fancy-pypi-readme]75content-type = "text/markdown"7677[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]78path = "README.md"7980[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]

PyPI readme: fix screenshot links & trim changelog (#2522)Hynek Schlawackbefore adoptione4438a3

lines 81–83why, one step back
81text = "\n## Release Information\n\n"
8283[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]

Update package metadata (#2334)Ofek Levbefore adoption45b7cfa

line 84why, one step back
84path = "CHANGELOG.md"

PyPI readme: fix screenshot links & trim changelog (#2522)Hynek Schlawackbefore adoptione4438a3

lines 85–92why, one step back
85pattern = "\n(###.+?\n)## "
8687[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]88text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n"8990[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]91pattern = 'src="(docs/img/.*?)"'92replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"'