Skip to content

Release/23.3.2 #12438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 17, 2023
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: 2 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ Dwayne Bailey
Ed Morley
Edgar Ramírez
Ee Durbin
Efflam Lemaillet
efflamlemaillet
Eitan Adler
ekristina
elainechan
Expand Down
10 changes: 10 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@

.. towncrier release notes start

23.3.2 (2023-12-17)
===================

Bug Fixes
---------

- Fix a bug in extras handling for link requirements (`#12372 <https://github.com/pypa/pip/issues/12372>`_)
- Fix mercurial revision "parse error": use ``--rev={ref}`` instead of ``-r={ref}`` (`#12373 <https://github.com/pypa/pip/issues/12373>`_)


23.3.1 (2023-10-21)
===================

Expand Down
1 change: 0 additions & 1 deletion news/12372.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/370392cf-52cd-402c-b402-06d2ff398f89.bugfix.rst

This file was deleted.

6 changes: 3 additions & 3 deletions tests/functional/test_new_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ def test_new_resolver_dont_backtrack_on_extra_if_base_constrained_in_requirement
script, "pkg", "2.0", extras={"ext1": ["dep"], "ext2": ["dep"]}
)

to_install: tuple[str, str] = (
to_install: Tuple[str, str] = (
"pkg[ext1]",
"pkg[ext2]==1.0" if two_extras else "pkg==1.0",
)
Expand Down Expand Up @@ -2342,7 +2342,7 @@ def test_new_resolver_dont_backtrack_on_conflicting_constraints_on_extras(
script, "pkg", "2.0", extras={"ext1": ["dep"], "ext2": ["dep"]}
)

to_install: tuple[str, str] = (
to_install: Tuple[str, str] = (
"pkg[ext1]>1",
"pkg[ext2]==1.0" if two_extras else "pkg==1.0",
)
Expand Down Expand Up @@ -2506,7 +2506,7 @@ def test_new_resolver_comes_from_with_extra(
create_basic_wheel_for_package(script, "dep", "1.0")
create_basic_wheel_for_package(script, "pkg", "1.0", extras={"ext": ["dep"]})

to_install: tuple[str, str] = ("pkg", "pkg[ext]")
to_install: Tuple[str, str] = ("pkg", "pkg[ext]")

result = script.pip(
"install",
Expand Down
5 changes: 3 additions & 2 deletions tools/update-rtd-redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import sys
from pathlib import Path
from typing import Dict, List

import httpx
import rich
Expand Down Expand Up @@ -84,8 +85,8 @@ def get_rtd_api() -> httpx.Client:

next_step("Compare and determine modifications.")

redirects_to_remove: list[int] = []
redirects_to_add: dict[str, str] = {}
redirects_to_remove: List[int] = []
redirects_to_add: Dict[str, str] = {}

for redirect in rtd_redirects["results"]:
if redirect["type"] != "exact":
Expand Down