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 examples/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ pip.parse(
#
# The patches have to be in the unified-diff format.
pip.override(
file = "requests-2.25.1-py2.py3-none-any.whl",
file = "requests-2.33.0-py3-none-any.whl",
patch_strip = 1,
patches = [
"@//patches:empty.patch",
Expand Down
16 changes: 8 additions & 8 deletions examples/bzlmod/patches/requests_metadata.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --unified --recursive a/requests-2.25.1.dist-info/METADATA b/requests-2.25.1.dist-info/METADATA
--- a/requests-2.25.1.dist-info/METADATA 2020-12-16 19:37:50.000000000 +0900
+++ b/requests-2.25.1.dist-info/METADATA 2023-09-30 20:31:50.079863410 +0900
diff --unified --recursive a/requests-2.33.0.dist-info/METADATA b/requests-2.33.0.dist-info/METADATA
--- a/requests-2.33.0.dist-info/METADATA 2020-12-16 19:37:50.000000000 +0900
+++ b/requests-2.33.0.dist-info/METADATA 2023-09-30 20:31:50.079863410 +0900
@@ -1,7 +1,7 @@
Metadata-Version: 2.1
Metadata-Version: 2.4
Name: requests
Version: 2.25.1
Version: 2.33.0
-Summary: Python HTTP for Humans.
+Summary: Python HTTP for Humans. Patched.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
Author-email: Kenneth Reitz <me@kennethreitz.org>
Maintainer-email: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>, Nate Prewitt <nate.prewitt@gmail.com>
License: Apache-2.0
22 changes: 11 additions & 11 deletions examples/bzlmod/patches/requests_record.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- a/requests-2.25.1.dist-info/RECORD
+++ b/requests-2.25.1.dist-info/RECORD
@@ -17,7 +17,7 @@
requests/structures.py,sha256=msAtr9mq1JxHd-JRyiILfdFlpbJwvvFuP3rfUQT_QxE,3005
requests/utils.py,sha256=_K9AgkN6efPe-a-zgZurXzds5PBC0CzDkyjAE2oCQFQ,30529
requests-2.25.1.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
-requests-2.25.1.dist-info/METADATA,sha256=RuNh38uN0IMsRT3OwaTNB_WyGx6RMwwQoMwujXfkUVM,4168
+requests-2.25.1.dist-info/METADATA,sha256=fRSAA0u0Bi0heD4zYq91wdNUTJlbzhK6_iDOcRRNDx4,4177
requests-2.25.1.dist-info/WHEEL,sha256=Z-nyYpwrcSqxfdux5Mbn_DQ525iP7J2DG3JgGvOYyTQ,110
requests-2.25.1.dist-info/top_level.txt,sha256=fMSVmHfb5rbGOo6xv-O_tUX6j-WyixssE-SnwcDRxNQ,9
requests-2.25.1.dist-info/RECORD,,
--- a/requests-2.33.0.dist-info/RECORD
+++ b/requests-2.33.0.dist-info/RECORD
@@ -18,7 +18,7 @@
requests/utils.py,sha256=xDMVThT3jebVDqf-dTgluLuzyUWUaN7gUvi2jtwlctw,33091
requests-2.33.0.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
requests-2.33.0.dist-info/licenses/NOTICE,sha256=9REJct7a0rTp0xRRja87fXLW4C5Jms2AIYHeb3RXHcw,38
-requests-2.33.0.dist-info/METADATA,sha256=DMD6bom-g8-hd3lXUZ4__-eNGnmzBWGTTR5DhPsXdxE,5126
+requests-2.33.0.dist-info/METADATA,sha256=me2N_HIS9nbj7dlVTctEDENb4Iv-UUO39KdSoa0MlnU,5135
requests-2.33.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
requests-2.33.0.dist-info/top_level.txt,sha256=fMSVmHfb5rbGOo6xv-O_tUX6j-WyixssE-SnwcDRxNQ,9
requests-2.33.0.dist-info/RECORD,,
2 changes: 1 addition & 1 deletion examples/bzlmod/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

wheel
websockets
requests~=2.25.1
requests~=2.33.0
s3cmd~=2.1.0
yamllint>=1.28.0
tabulate~=0.9.0
Expand Down
194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_lock_3_10.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_lock_3_12.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_lock_3_13.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_lock_3_14.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_windows_3_10.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_windows_3_12.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_windows_3_13.txt

Large diffs are not rendered by default.

194 changes: 182 additions & 12 deletions examples/bzlmod/requirements_windows_3_14.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/bzlmod/whl_mods/pip_whl_mods_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def test_extra(self):
self.assertEqual(content, "Hello world from requests")

def test_patches(self):
current_wheel_version = "2.25.1"
current_wheel_version = "2.33.0"

# This test verifies that the patches are applied to the wheel.
r = runfiles.Create()
Expand Down
6 changes: 3 additions & 3 deletions examples/wheel/requirements_server.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pypiserver==2.4.1 \
# via -r examples/wheel/requirements_server.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0 \
--hash=sha256:ba0d021a166865d2265246961bec0152ff124de910c5cc39f1156ce3fa7c69dc \
--hash=sha256:ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2
pip==26.1.2 \
--hash=sha256:382ff9f685ee3bc25864f820aa50505825f10f5458ffff07e30a6d96e5715cab \
--hash=sha256:f49cd134c61cf2fd75e0ce2676db03e4054504a5a4986d00f8299ae632dc4605
# via pypiserver
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ manifest:
asgiref: asgiref
astroid: astroid
certifi: certifi
chardet: chardet
charset_normalizer: charset_normalizer
dateutil: python_dateutil
dill: dill
django: Django
django: django
django_stubs_ext: django_stubs_ext
idna: idna
isort: isort
Expand All @@ -22,7 +22,6 @@ manifest:
mccabe: mccabe
mypy_django_plugin: django_stubs
pathspec: pathspec
pkg_resources: setuptools
platformdirs: platformdirs
pylint: pylint
requests: requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ manifest:
asgiref: asgiref
astroid: astroid
certifi: certifi
chardet: chardet
charset_normalizer: charset_normalizer
dateutil: python_dateutil
dill: dill
django: Django
django: django
django_stubs: django_stubs
django_stubs_ext: django_stubs_ext
idna: idna
Expand All @@ -22,7 +22,6 @@ manifest:
magic: python_magic
mccabe: mccabe
pathspec: pathspec
pkg_resources: setuptools
platformdirs: platformdirs
pylint: pylint
requests: requests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests~=2.25.1
requests~=2.33.0
s3cmd~=2.1.0
yamllint>=1.28.0
tabulate~=0.9.0
Expand Down
Loading