build(deps-dev): sync manifests, lockfiles, and tests after #4463 (#4473) Dependabot commit 4689a40b (#4463) updated dev, example, and test dependencies without regenerating derived Gazelle manifests, Bazel lockfiles, or `lock()` constraint comments, and collapsed distinct package versions in multi-hub test fixtures. It also bumped `pyelftools` to 0.33 and `yamllint` to 1.38.0, failing `pyrefly` section type checks and the `pip_parse` entry-point version check. Regenerate the out-of-date Gazelle manifests, `MODULE.bazel.lock`, and `tests/uv/lock` requirements output, narrow `.dynsym` to `SymbolTableSection` for `pyrefly`, update the expected `yamllint` version, and restore the distinct version pins in `multi_pypi` and `unified_pypi`.
diff --git a/examples/build_file_generation/gazelle_python.yaml b/examples/build_file_generation/gazelle_python.yaml index 20fbb25..3d23801 100644 --- a/examples/build_file_generation/gazelle_python.yaml +++ b/examples/build_file_generation/gazelle_python.yaml
@@ -35,4 +35,4 @@ werkzeug: werkzeug pip_repository: name: pip -integrity: 629f451f5a60aa3d374899221702c5cd79ffc8f9a0159141bde228da02024792 +integrity: 3847b11d45d5e9c9111d95c48d5c74ca982ca8dd1c936e39c4eacf5aa4c16d0f
diff --git a/examples/pip_parse/pip_parse_test.py b/examples/pip_parse/pip_parse_test.py index 44ec4f9..1a63eec 100644 --- a/examples/pip_parse/pip_parse_test.py +++ b/examples/pip_parse/pip_parse_test.py
@@ -45,7 +45,7 @@ stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) - self.assertEqual(proc.stdout.decode("utf-8").strip(), "yamllint 1.28.0") + self.assertEqual(proc.stdout.decode("utf-8").strip(), "yamllint 1.38.0") def test_data(self): actual = os.environ.get("WHEEL_DATA_CONTENTS")
diff --git a/gazelle/examples/bzlmod_build_file_generation/gazelle_python.yaml b/gazelle/examples/bzlmod_build_file_generation/gazelle_python.yaml index 79185b3..2c62862 100644 --- a/gazelle/examples/bzlmod_build_file_generation/gazelle_python.yaml +++ b/gazelle/examples/bzlmod_build_file_generation/gazelle_python.yaml
@@ -24,7 +24,6 @@ platformdirs: platformdirs pylint: pylint requests: requests - six: six sqlparse: sqlparse tabulate: tabulate tomlkit: tomlkit
diff --git a/gazelle/examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml b/gazelle/examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml index ca828db..29a3f2a 100644 --- a/gazelle/examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml +++ b/gazelle/examples/bzlmod_build_file_generation/gazelle_python_with_types.yaml
@@ -24,7 +24,6 @@ platformdirs: platformdirs pylint: pylint requests: requests - six: six sqlparse: sqlparse tabulate: tabulate tomlkit: tomlkit
diff --git a/tests/cc/py_extension/py_extension_test.py b/tests/cc/py_extension/py_extension_test.py index 7ffcdd3..0aa0392 100644 --- a/tests/cc/py_extension/py_extension_test.py +++ b/tests/cc/py_extension/py_extension_test.py
@@ -5,6 +5,7 @@ import ext_shared # pyrefly: ignore[missing-import] from elftools.elf.dynamic import DynamicSection from elftools.elf.elffile import ELFFile +from elftools.elf.sections import SymbolTableSection class PyExtensionTest(unittest.TestCase): @@ -35,6 +36,7 @@ # Check for the PyInit symbol dynsym_section = elf.get_section_by_name(".dynsym") self.assertIsNotNone(dynsym_section) + self.assertTrue(isinstance(dynsym_section, SymbolTableSection)) symbols = [s.name for s in dynsym_section.iter_symbols()] self.assertIn("PyInit_ext_shared", symbols)
diff --git a/tests/integration/bzlmod_lockfile/MODULE.bazel.lock b/tests/integration/bzlmod_lockfile/MODULE.bazel.lock index e8f38b0..5fd682a 100644 --- a/tests/integration/bzlmod_lockfile/MODULE.bazel.lock +++ b/tests/integration/bzlmod_lockfile/MODULE.bazel.lock
@@ -395,8 +395,8 @@ "@@rules_python+//python/extensions:pip.bzl%pip": { "fact_version": "v3", "pycparser@https://pypi.org/simple": { - "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl": "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", - "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz": "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29" + "https://files.pythonhosted.org/packages/b6/ae/315bbeee126a769cbde43cf4908acb4b40408d8bf8bbf334dd7368d8dadf/pycparser-3.12-py3-none-any.whl": "sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e", + "https://files.pythonhosted.org/packages/cb/27/eeb9f307bf07060f3d9f9aa0fb8c15b01bdfded0a941e4b2719c7f94cacd/pycparser-3.12.tar.gz": "sha256:f03387877eab82ce01bbdfd0ba7252ee55a90b1c708d5129e2ce915475cf1db6" }, "six@https://pypi.org/simple": { "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz": "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81",
diff --git a/tests/integration/unified_pypi/requirements_b.txt b/tests/integration/unified_pypi/requirements_b.txt index 762c368..c69f363 100644 --- a/tests/integration/unified_pypi/requirements_b.txt +++ b/tests/integration/unified_pypi/requirements_b.txt
@@ -1,6 +1,6 @@ -colorama==0.4.6 \ - --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ - --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 +colorama==0.4.5 \ + --hash=sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da \ + --hash=sha256:e6c6b4334fc50988a639d9b98ae42f5c90ec94cb1495b4fe76c5f72cf7f79435 six==1.17.0 \ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
diff --git a/tests/integration/unified_pypi/requirements_b_without_six.txt b/tests/integration/unified_pypi/requirements_b_without_six.txt index 788f12f..ab5f031 100644 --- a/tests/integration/unified_pypi/requirements_b_without_six.txt +++ b/tests/integration/unified_pypi/requirements_b_without_six.txt
@@ -1,3 +1,3 @@ -colorama==0.4.6 \ - --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ - --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 +colorama==0.4.5 \ + --hash=sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da \ + --hash=sha256:e6c6b4334fc50988a639d9b98ae42f5c90ec94cb1495b4fe76c5f72cf7f79435
diff --git a/tests/multi_pypi/alpha/pyproject.toml b/tests/multi_pypi/alpha/pyproject.toml index 13b7cde..f62a0a4 100644 --- a/tests/multi_pypi/alpha/pyproject.toml +++ b/tests/multi_pypi/alpha/pyproject.toml
@@ -3,5 +3,5 @@ version = "0.1.0" requires-python = ">=3.14" dependencies = [ - "more-itertools==11.2.1" + "more-itertools==9.1.0" ]
diff --git a/tests/multi_pypi/alpha/uv.lock b/tests/multi_pypi/alpha/uv.lock index 2b1abdc..fc2f1f0 100644 --- a/tests/multi_pypi/alpha/uv.lock +++ b/tests/multi_pypi/alpha/uv.lock
@@ -4,11 +4,11 @@ [[package]] name = "more-itertools" -version = "11.2.1" +version = "9.1.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/52/b8/c63995bebbb9ac9c059350e0fb8c82c2420c85aeca7d34e40aecf3df9281/more_itertools-11.2.1.tar.gz", hash = "sha256:cbf08fd0af284dc69718b9b76a8e6203df624d70209ea511e4219d350c856f63", size = 154133, upload-time = "2026-10-14T18:50:30.407Z" } +sdist = { url = "https://files.pythonhosted.org/packages/2e/d0/bea165535891bd1dcb5152263603e902c0ec1f4c9a2e152cc4adff6b3a38/more-itertools-9.1.0.tar.gz", hash = "sha256:cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d", size = 107389, upload-time = "2023-02-27T14:43:11.571Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5d/57/3c4b1c6f2e0cc29ba023802458ea3d2a996f87085559e4a5f2192d549532/more_itertools-11.2.1-py3-none-any.whl", hash = "sha256:35a7377edd1dd6608dcb2cdf534ded55ea32d49448875ad042cd3f879fb1ded0", size = 74405, upload-time = "2026-10-14T18:50:29.116Z" }, + { url = "https://files.pythonhosted.org/packages/85/01/e2678ee4e0d7eed4fd6be9e5b043fff9d22d245d06c8c91def8ced664189/more_itertools-9.1.0-py3-none-any.whl", hash = "sha256:d2bc7f02446e86a68911e58ded76d6561eea00cddfb2a91e7019bbb586c799f3", size = 54207, upload-time = "2023-02-27T14:43:09.651Z" }, ] [[package]] @@ -20,4 +20,4 @@ ] [package.metadata] -requires-dist = [{ name = "more-itertools", specifier = "==11.2.1" }] +requires-dist = [{ name = "more-itertools", specifier = "==9.1.0" }]
diff --git a/tests/multi_pypi/beta/pyproject.toml b/tests/multi_pypi/beta/pyproject.toml index 4dfa60f..753b52e 100644 --- a/tests/multi_pypi/beta/pyproject.toml +++ b/tests/multi_pypi/beta/pyproject.toml
@@ -3,5 +3,5 @@ version = "0.1.0" requires-python = ">=3.14" dependencies = [ - "more-itertools==11.2.1" + "more-itertools==9.0.0" ]
diff --git a/tests/multi_pypi/beta/uv.lock b/tests/multi_pypi/beta/uv.lock index a84e165..6ff80a5 100644 --- a/tests/multi_pypi/beta/uv.lock +++ b/tests/multi_pypi/beta/uv.lock
@@ -4,11 +4,11 @@ [[package]] name = "more-itertools" -version = "11.2.1" +version = "9.0.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/52/b8/c63995bebbb9ac9c059350e0fb8c82c2420c85aeca7d34e40aecf3df9281/more_itertools-11.2.1.tar.gz", hash = "sha256:cbf08fd0af284dc69718b9b76a8e6203df624d70209ea511e4219d350c856f63", size = 154133, upload-time = "2026-10-14T18:50:30.407Z" } +sdist = { url = "https://files.pythonhosted.org/packages/13/b3/397aa9668da8b1f0c307bc474608653d46122ae0563d1d32f60e24fa0cbd/more-itertools-9.0.0.tar.gz", hash = "sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab", size = 104237, upload-time = "2022-10-18T13:44:44.745Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5d/57/3c4b1c6f2e0cc29ba023802458ea3d2a996f87085559e4a5f2192d549532/more_itertools-11.2.1-py3-none-any.whl", hash = "sha256:35a7377edd1dd6608dcb2cdf534ded55ea32d49448875ad042cd3f879fb1ded0", size = 74405, upload-time = "2026-10-14T18:50:29.116Z" }, + { url = "https://files.pythonhosted.org/packages/5d/87/1ec3fcc09d2c04b977eabf8a1083222f82eaa2f46d5a4f85f403bf8e7b30/more_itertools-9.0.0-py3-none-any.whl", hash = "sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41", size = 52811, upload-time = "2022-10-18T13:44:41.446Z" }, ] [[package]] @@ -20,4 +20,4 @@ ] [package.metadata] -requires-dist = [{ name = "more-itertools", specifier = "==11.2.1" }] +requires-dist = [{ name = "more-itertools", specifier = "==9.0.0" }]
diff --git a/tests/uv/lock/testdata/requirements.txt b/tests/uv/lock/testdata/requirements.txt index 38494c5..61ec14e 100644 --- a/tests/uv/lock/testdata/requirements.txt +++ b/tests/uv/lock/testdata/requirements.txt
@@ -3,6 +3,9 @@ certifi==2026.10.23 \ --hash=sha256:a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd \ --hash=sha256:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1 + # via + # -c testdata/constraints.txt + # requests charset-normalizer==3.5.2 \ --hash=sha256:01077390b03f7988f11d700a2194e69b119741a86b1a638b1db88891e3eced8e \ --hash=sha256:01b0c0d2262a9e28e8484a278c7e1b5d650e3ac8cf2683d2967e25899f208bdf \ @@ -176,12 +179,25 @@ --hash=sha256:fcff63213e8e6e47770541a4607175404f47cbb3ebea7b6058cc82d524a0e424 \ --hash=sha256:fd1fbe0f116b6e55da77aca2c6ddcddcfac2186cbf78bdebf40fc156efca389d \ --hash=sha256:fe9753dfee015c570d73df76f899f18444d41388bffcde097deba51c4fadbb9f + # via + # -c testdata/constraints.txt + # -c testdata/constraints2.txt + # requests idna==3.20 \ --hash=sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44 \ --hash=sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c + # via + # -c testdata/constraints.txt + # requests requests==2.34.2 \ --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \ --hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed + # via + # -c testdata/constraints.txt + # -r testdata/requirements.in urllib3==2.8.0 \ --hash=sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3 \ --hash=sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63 + # via + # -c testdata/constraints.txt + # requests