Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bazel-contrib/rules_python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.1
Choose a base ref
...
head repository: bazel-contrib/rules_python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.2
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on Aug 11, 2025

  1. fix: Don't let deprecated test targets get matched by '...' (#3045)

    This fixes "target '//foo_test' is deprecated: Use 'foo.test' instead.
    The '*_test' target will be removed in the next major release." being
    warned about once per `compile_pip_requirement` call when running `bazel
    test ...`.
    
    Work towards #2976
    
    (cherry picked from commit 4e22d25)
    robinlinden authored and aignas committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    ba2e4f8 View commit details
    Browse the repository at this point in the history
  2. fix(pypi): support properly installing sdists via pypi without index (#…

    …3115)
    
    This fixes the subtle bug introduced in #2871, where we were dropping
    the URL from the requirement, because we can download the sdist
    directly. We cannot add --no-index because sdists in general may
    require extra build dependencies and we had already issues previously
    (see 0.36 release notes).
    
    Fixes #2363
    Fixes #3131
    
    ---------
    
    Co-authored-by: Richard Levasseur <richardlev@gmail.com>
    (cherry picked from commit f6dd386)
    
    Cherry-pick notes: adapted the changelog to mention 1.5.2
    aignas committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    9a4b874 View commit details
    Browse the repository at this point in the history
  3. chore(deps): upgrade bazel-skylib to 1.8.1 (#3118)

    With most recent bazel versions, older versions of rules_python started
    spewing a lot of warnings due to us using `bazel-skylib` for copying
    files around.
    
    The only solution is to bump the bazel-skylib version.
    
    Fixes #3113
    
    ---------
    
    Co-authored-by: Richard Levasseur <richardlev@gmail.com>
    (cherry picked from commit 673cd76)
    
    Cherry-pick notes: adapted changelog to mention 1.5.2
    aignas committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    277026b View commit details
    Browse the repository at this point in the history
  4. fix(core): do not assume rules_python runtime (#3134)

    This change reverts the behaviour where we assume that particular
    attributes will be always present - if bazel is doing autoloading for
    WORKSPACE builds (7.6.1), then we will crash with attribute error.
    
    I could not think how to add a unit test, which would test this fix
    because it seems to only happen with a released version of rules_python
    where we are not using `local_repository` override.
    
    Fixes #3119
    
    ---------
    
    Co-authored-by: Richard Levasseur <richardlev@gmail.com>
    (cherry picked from commit acf7507)
    
    Cherry-pick notes: adjusted changelog to mention 1.5.2
    aignas committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    fdaca1b View commit details
    Browse the repository at this point in the history
Loading