Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: bazel-contrib/rules_python

Tags

1.5.0-rc4

Toggle 1.5.0-rc4's commit message
fix: work around version parsing by only parsing if site-packages is …

…enabled (#3031)

There's a bug in the version string parser that doesn't handle local
identifiers correctly.

Thankfully, it's only activated in the experimental code path when site
packages for
libraries is eanbled. Moving the logic within that block works around
it.

Work around for
#3030

(cherry picked from commit aab2650)

1.5.0-rc3

Toggle 1.5.0-rc3's commit message
fix(pypi): namespace_pkgs should pass correct arguments (#3026)

It seems that the only function that did not have unit tests have bugs
and the integration tests did not catch it because we weren't creating
namespacepkg `__init__.py` files.

This change fixes the bug, adds a unit test for the remaining untested
function.

Fixes #3023

Co-authored-by: Richard Levasseur <[email protected]>
(cherry picked from commit 4978027)

1.5.0-rc2

Toggle 1.5.0-rc2's commit message
fix(toolchains): use posix-compatible exec -a alternative (#3010)

The `exec -a` command doesn't work in dash, the default shell for
Ubuntu/debian.

To work around, use `sh -c`, which is posix and dash compatible. This
allows changing
the argv0 while invoking a different command. Also adds a test to verify
the the
runtime_env toolchain works with bootstrap script.

Fixes #3009

(cherry picked from commit c4543cd)

1.5.0-rc1

Toggle 1.5.0-rc1's commit message
fix: use platform_info.target_settings in toolchain aliases (#3001)

During the refactor we forgot one more place where the `flag_values` on
the platform information was used. They were no longer populated and
broke.

The solution is to use `selects.config_setting_group` to maintain
behaviour and in order to smoke test I have added a target to verify
that the aliases work.

Related to #2875
Fixes #2993

Co-authored-by: Richard Levasseur <[email protected]>
(cherry picked from commit 107a878)

1.5.0-rc0

Toggle 1.5.0-rc0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: support pre-release versions and add new toolchain versions (#2969)

Add latest toolchain builds and attempt adding a beta build.

This shows/tests that we can handle pre-release versions just fine
and we are able to test the toolchain matching. Whilst at it it
implements
the static advertising of the remaining interpreter information.

Fixes #2837

---------

Co-authored-by: Richard Levasseur <[email protected]>

1.4.1

Toggle 1.4.1's commit message
fix(pypi): fix a typo in parse_simpleapi_html (#2866)

It seems that the integration tests that I thought were covering this
had the same time. Added an assertion to the unit tests as well

Fixes #2863.

(cherry picked from commit 9dfa3ab)

1.4.0

Toggle 1.4.0's commit message
fix(pypi): handle more URL patterns for requirement sources (#2843)

Summary:
- Better handle git references for sdists.
- Better handle direct whl references.
- Add an extra test that turned out to be not needed in the end, but I
  left it to increase the code coverage.

Work towards #2363
Fixes #2828

(cherry picked from commit a79bbfa)

1.4.0-rc4

Toggle 1.4.0-rc4's commit message
fix(pypi): handle more URL patterns for requirement sources (#2843)

Summary:
- Better handle git references for sdists.
- Better handle direct whl references.
- Add an extra test that turned out to be not needed in the end, but I
  left it to increase the code coverage.

Work towards #2363
Fixes #2828

(cherry picked from commit a79bbfa)

1.4.0-rc3

Toggle 1.4.0-rc3's commit message
revert(pypi): use Python for marker eval and METADATA parsing (#2834)

Summary:
- Revert to using Python for marker evaluation during parsing of
  requirements (partial revert of #2692).
- Use Python to parse whl METADATA.
- Bugfix the new simpler algorithm and add a new unit test.

Fixes #2830

(cherry picked from commit 5b9d545)

1.4.0-rc2

Toggle 1.4.0-rc2's commit message
chore: remove a stray file (#2795)

Remove a stray file

(cherry picked from commit c981569)