commit | eef839ba9a5edbda273c8d35d6bee4256fcd2249 | [log] [tgz] |
---|---|---|
author | Will Morrison <camocrazed+github@gmail.com> | Wed Jan 15 00:04:25 2025 +0100 |
committer | GitHub <noreply@github.com> | Tue Jan 14 23:04:25 2025 +0000 |
tree | 1110f59f5c1a693cef2bdeb012c2c357d54040c9 | |
parent | c0bd668136e57852ced9cc87127ee38c20426d37 [diff] |
fix: Avoid creating URLs with empty path segments from index URLs in environment variables (#2557) This change updates `_read_simpleapi` such that it correctly handles the case where the index URL is specified in an environment variable and contains a trailing slash. The URL construction would have introduced an empty path segment, which is now removed. Fixes: #2554 --------- Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
This repository is the home of the core Python rules -- py_library
, py_binary
, py_test
, py_proto_library
, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.