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: pytest-dev/pytest-cov
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.11.0
Choose a base ref
...
head repository: pytest-dev/pytest-cov
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.11.1
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Jan 19, 2021

  1. Fix custom commands with newer setuptools

    Fix custom commands to handle additional arguments to the run() method.
    This is needed with newer versions of setuptools since they've started
    passing 'show_deprecation' kwarg in easy_install command, and this
    resulted in the following error:
    
    ```
    Traceback (most recent call last):
      File "/tmp/pytest-cov/./setup.py", line 86, in <module>
        setup(
      File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 67, in run
        self.do_egg_install()
      File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 117, in do_egg_install
        cmd.run(show_deprecation=False)
    TypeError: run() got an unexpected keyword argument 'show_deprecation'
    ```
    
    While at it, future-proof all overriden commands to accept pass any
    arguments through.
    mgorny authored and ionelmc committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    d39de1e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Update changelog.

    ionelmc committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    51f1f2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e1913e View commit details
    Browse the repository at this point in the history
Loading