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: main
Choose a base ref
...
head repository: durkode/rules_python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 10 files changed
  • 3 contributors

Commits on Jun 12, 2018

  1. whl: Parse requirements from METADATA files

    Some wheels only include METADATA files (examples: wheel 0.31.1,
    tenacity 4.10.0). Previously whl did not parse the requirement
    sections. Add code to parse these sections.
    
    The most complicated part is parsing out the extra == 'something'
    clauses from the boolean expression. Use the same expression parser
    used by pkg_resources.evaluate_marker which is already used by this
    code to find those clauses and produce a version with them removed.
    Evan Jones authored and evanj committed Jun 12, 2018
    Configuration menu
    Copy the full SHA
    1a1ebcd View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. Add attr python_interpreter to pip.bzl/whl.bzl

    This commit also added --python_interpreter argument to piptool.py to
    support this attribute.
    
    Example usage:
    pip_import(
        name = 'pip_deps',
        requirements = '//:requirements.txt',
        python_interpreter = 'python3.7',
    )
    XMC authored and xmc committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    3e1f35c View commit details
    Browse the repository at this point in the history
  2. update doc for attr python_interpreter

    xmc committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    e5b4a6d View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Merge pull request #1 from evanj/parse-metadata-requires

    whl: Parse requirements from METADATA files
    durkode authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    6fa278d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from cs-world/master

    Add optional attr python_interpreter to run pip with python 3
    durkode authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    6372143 View commit details
    Browse the repository at this point in the history
Loading