Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: "3.14"
commands:
- asdf plugin add uv
- asdf install uv latest
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx_toolbox.more_autodoc.autotypeddict",
]

# General information about the project.
Expand Down
1 change: 1 addition & 0 deletions docs/metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Low Level Interface

.. autoclass:: packaging.metadata.RawMetadata
:members:
:undoc-members:

.. autofunction:: packaging.metadata.parse_email

Expand Down
18 changes: 15 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ test = [
]
docs = [
"furo",
"sphinx-toolbox",
"typing-extensions>=4.1.0; python_version < '3.9'",
]
benchmark = [
Expand All @@ -62,7 +61,14 @@ dev = [

[tool.flit.sdist]
include = ["tests/", "docs/", "CHANGELOG.rst"]
exclude = ["docs/_build", "tests/manylinux/build-hello-world.sh", "tests/musllinux/build.sh", "tests/hello-world.c", "tests/__pycache__", "build/__pycache__"]
exclude = [
"docs/_build",
"tests/manylinux/build-hello-world.sh",
"tests/musllinux/build.sh",
"tests/hello-world.c",
"tests/__pycache__",
"build/__pycache__",
]

[tool.typos.default.extend-identifiers]
iMatix = "iMatix"
Expand All @@ -82,7 +88,13 @@ source_pkgs = ["packaging"]
[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_also = ["@(abc.)?abstractmethod", "@(abc.)?abstractproperty", "if (typing.)?TYPE_CHECKING:", "@(typing.)?overload", "def __dir__()"]
exclude_also = [
"@(abc.)?abstractmethod",
"@(abc.)?abstractproperty",
"if (typing.)?TYPE_CHECKING:",
"@(typing.)?overload",
"def __dir__()",
]

[tool.pytest.ini_options]
minversion = "6.2"
Expand Down
2 changes: 1 addition & 1 deletion src/packaging/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class UndefinedEnvironmentName(ValueError):
class Environment(TypedDict):
"""
A dictionary that represents a Python environment as captured by
:func:`default_environment`.
:func:`default_environment`. All fields are required.
"""

implementation_name: str
Expand Down
4 changes: 2 additions & 2 deletions src/packaging/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class RawMetadata(TypedDict, total=False):

Core metadata fields that can be specified multiple times are stored as a
list or dict depending on which is appropriate for the field. Any fields
which hold multiple values in a single field are stored as a list.

which hold multiple values in a single field are stored as a list. All fields
are considered optional.
"""

# Metadata 1.0 - PEP 241
Expand Down
Loading