profile
viewpoint
Diane DeMers Chen purplediane San Diego, CA, United States http://purplediane.github.io/ Pythonista, Python instructor (bit.ly/UCSDPython). I love programming, art, and pugs. Not always in that order.

purplediane/purplediane.github.io 1

A blog using Jekyll.

purplediane/purpleviolet 1

Customized from DjangoGirls tutorial

purplediane/100daysofcode-with-python-course 0

Course materials and handouts for #100DaysOfCode in Python course

purplediane/briefcase 0

Tools to support converting a Python project into a standalone native application.

purplediane/catinabox 0

Silly Intro to Testing and Test Automation in Python

purplediane/challenges 0

PyBites Code Challenges

purplediane/cookiecutter 0

A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects.

purplediane/cookiecutter-django 0

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

create barnchpurplediane/shortbread

branch : pyup-update-twine-3.6.0-to-3.7.0

created branch time in 19 hours

push eventpurplediane/shortbread

pyup-bot

commit sha 70144ba5c37c65ebbc303072cf524bc87611cc64

Update twine from 3.6.0 to 3.7.0

view details

push time in 19 hours

delete branch purplediane/shortbread

delete branch : pyup-update-sphinx-4.3.0-to-4.3.1

delete time in 4 days

push eventpurplediane/shortbread

pyup-bot

commit sha 101e7ec2e01e2daba60a6cbdfbd1a68a3b7e3a82

Update sphinx from 4.3.0 to 4.3.1

view details

Diane DeMers Chen

commit sha 4ae50a0b277a4083b6cd3fe082a1a07f0c39588a

Merge branch 'master' into pyup-update-sphinx-4.3.0-to-4.3.1

view details

Diane DeMers Chen

commit sha 247e5cdd89db2d9c933e9c36c45ef47029ae72d6

Merge pull request #345 from purplediane/pyup-update-sphinx-4.3.0-to-4.3.1 Update sphinx to 4.3.1

view details

push time in 4 days

PR merged purplediane/shortbread

Update sphinx to 4.3.1

This PR updates Sphinx from 4.3.0 to 4.3.1.

<details> <summary>Changelog</summary>

4.3.1

=====================================

Features added
--------------

* 9864: mathjax: Support chnaging the loading method of MathJax to &quot;defer&quot; via
:confval:`mathjax_options`

Bugs fixed
----------

* 9838: autodoc: AttributeError is raised on building document for functions
decorated by functools.lru_cache
* 9879: autodoc: AttributeError is raised on building document for an object
having invalid __doc__ atribute
* 9844: autodoc: Failed to process a function wrapped with functools.partial if
:confval:`autodoc_preserve_defaults` enabled
* 9872: html: Class namespace collision between autodoc signatures and
docutils-0.17
* 9868: imgmath: Crashed if the dvisvgm command failed to convert equation
* 9864: mathjax: Failed to render equations via MathJax v2.  The loading method
of MathJax is back to &quot;async&quot; method again

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/sphinx
  • Changelog: https://pyup.io/changelogs/sphinx/
  • Homepage: https://www.sphinx-doc.org/ </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 4 days

push eventpurplediane/shortbread

pyup-bot

commit sha c804bc9def5449ebb27ac265e9fbd6f689828feb

Update coverage from 6.1.2 to 6.2

view details

Diane DeMers Chen

commit sha 4e4d86c81ad8a4b5891c49d8c3ec86493477ceaf

Merge pull request #344 from purplediane/pyup-update-coverage-6.1.2-to-6.2 Update coverage to 6.2

view details

Diane DeMers Chen

commit sha 4ae50a0b277a4083b6cd3fe082a1a07f0c39588a

Merge branch 'master' into pyup-update-sphinx-4.3.0-to-4.3.1

view details

push time in 4 days

delete branch purplediane/shortbread

delete branch : pyup-update-coverage-6.1.2-to-6.2

delete time in 4 days

push eventpurplediane/shortbread

pyup-bot

commit sha c804bc9def5449ebb27ac265e9fbd6f689828feb

Update coverage from 6.1.2 to 6.2

view details

Diane DeMers Chen

commit sha 4e4d86c81ad8a4b5891c49d8c3ec86493477ceaf

Merge pull request #344 from purplediane/pyup-update-coverage-6.1.2-to-6.2 Update coverage to 6.2

view details

push time in 4 days

PR merged purplediane/shortbread

Update coverage to 6.2

This PR updates coverage from 6.1.2 to 6.2.

<details> <summary>Changelog</summary>

6.2

------------------------

- Feature: Now the ``--concurrency`` setting can now have a list of values, so
that threads and another lightweight threading package can be measured
together, such as ``--concurrency=gevent,thread``.  Closes `issue 1012`_ and
`issue 1082`_.

- Fix: A module specified as the ``source`` setting is imported during startup,
before the user program imports it.  This could cause problems if the rest of
the program isn&#x27;t ready yet.  For example, `issue 1203`_ describes a Django
setting that is accessed before settings have been configured.  Now the early
import is wrapped in a try/except so errors then don&#x27;t stop execution.

- Fix: A colon in a decorator expression would cause an exclusion to end too
early, preventing the exclusion of the decorated function. This is now fixed.

- Fix: The HTML report now will not overwrite a .gitignore file that already
exists in the HTML output directory (follow-on for `issue 1244`_).

- API: The exceptions raised by Coverage.py have been specialized, to provide
finer-grained catching of exceptions by third-party code.

- API: Using ``suffix=False`` when constructing a Coverage object with
multiprocessing wouldn&#x27;t suppress the data file suffix (`issue 989`_).  This
is now fixed.

- Debug: The ``coverage debug data`` command will now sniff out combinable data
files, and report on all of them.

- Debug: The ``coverage debug`` command used to accept a number of topics at a
time, and show all of them, though this was never documented.  This no longer
works, to allow for command-line options in the future.

.. _issue 989: https://github.com/nedbat/coveragepy/issues/989
.. _issue 1012: https://github.com/nedbat/coveragepy/issues/1012
.. _issue 1082: https://github.com/nedbat/coveragepy/issues/1082
.. _issue 1203: https://github.com/nedbat/coveragepy/issues/1203


.. _changes_612:

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/coverage
  • Changelog: https://pyup.io/changelogs/coverage/
  • Repo: https://github.com/nedbat/coveragepy </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 4 days

create barnchpurplediane/shortbread

branch : pyup-update-sphinx-4.3.0-to-4.3.1

created branch time in 5 days

push eventpurplediane/shortbread

pyup-bot

commit sha 101e7ec2e01e2daba60a6cbdfbd1a68a3b7e3a82

Update sphinx from 4.3.0 to 4.3.1

view details

push time in 5 days

create barnchpurplediane/shortbread

branch : pyup-update-coverage-6.1.2-to-6.2

created branch time in 5 days

push eventpurplediane/shortbread

pyup-bot

commit sha c804bc9def5449ebb27ac265e9fbd6f689828feb

Update coverage from 6.1.2 to 6.2

view details

push time in 5 days

delete branch purplediane/shortbread

delete branch : pyup-update-pytest-runner-5.3.0-to-5.3.1

delete time in 12 days

delete branch purplediane/shortbread

delete branch : pyup-update-coverage-5.4-to-6.1.2

delete time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha bd66acf8d339d403ff3a97300900ea73f1acf0e2

Update coverage from 5.4 to 6.1.2

view details

Diane DeMers Chen

commit sha 17243a157a61af93b0726eea591004b9bc498858

Merge branch 'master' into pyup-update-coverage-5.4-to-6.1.2

view details

Diane DeMers Chen

commit sha ead703da868871ad420cba69237ca11daa678276

Merge pull request #342 from purplediane/pyup-update-coverage-5.4-to-6.1.2 Update coverage to 6.1.2

view details

push time in 12 days

PR merged purplediane/shortbread

Update coverage to 6.1.2

This PR updates coverage from 5.4 to 6.1.2.

<details> <summary>Changelog</summary>

6.1.2

--------------------------

- Python 3.11 is supported (tested with 3.11.0a2).  One still-open issue has to
do with `exits through with-statements &lt;issue 1270_&gt;`_.

- Fix: When remapping file paths through the ``[paths]`` setting while
combining, the ``[run] relative_files`` setting was ignored, resulting in
absolute paths for remapped file names (`issue 1147`_).  This is now fixed.

- Fix: Complex conditionals over excluded lines could have incorrectly reported
a missing branch (`issue 1271`_). This is now fixed.

- Fix: More exceptions are now handled when trying to parse source files for
reporting.  Problems that used to terminate coverage.py can now be handled
with ``[report] ignore_errors``.  This helps with plugins failing to read
files (`django_coverage_plugin issue 78`_).

- Fix: Removed another vestige of jQuery from the source tarball
(`issue 840`_).

- Fix: Added a default value for a new-to-6.x argument of an internal class.
This unsupported class is being used by coveralls (`issue 1273`_). Although
I&#39;d rather not &quot;fix&quot; unsupported interfaces, it&#39;s actually nicer with a
default value.

.. _django_coverage_plugin issue 78: https://github.com/nedbat/django_coverage_plugin/issues/78
.. _issue 1147: https://github.com/nedbat/coveragepy/issues/1147
.. _issue 1270: https://github.com/nedbat/coveragepy/issues/1270
.. _issue 1271: https://github.com/nedbat/coveragepy/issues/1271
.. _issue 1273: https://github.com/nedbat/coveragepy/issues/1273


.. _changes_611:

6.1.1

--------------------------

- Fix: The sticky header on the HTML report didn&#39;t work unless you had branch
coverage enabled. This is now fixed: the sticky header works for everyone.
(Do people still use coverage without branch measurement!? j/k)

- Fix: When using explicitly declared namespace packages, the &quot;already imported
a file that will be measured&quot; warning would be issued (`issue 888`_).  This
is now fixed.

.. _issue 888: https://github.com/nedbat/coveragepy/issues/888


.. _changes_61:

6.1

------------------------

- Deprecated: The ``annotate`` command and the ``Coverage.annotate`` function
will be removed in a future version, unless people let me know that they are
using it.  Instead, the ``html`` command gives better-looking (and more
accurate) output, and the ``report -m`` command will tell you line numbers of
missing lines.  Please get in touch if you have a reason to use ``annotate``
over those better options: nednedbatchelder.com.

- Feature: Coverage now sets an environment variable, ``COVERAGE_RUN`` when
running your code with the ``coverage run`` command.  The value is not
important, and may change in the future.  Closes `issue 553`_.

- Feature: The HTML report pages for Python source files now have a sticky
header so the file name and controls are always visible.

- Feature: The ``xml`` and ``json`` commands now describe what they wrote
where.

- Feature: The ``html``, ``combine``, ``xml``, and ``json`` commands all accept
a ``-q/--quiet`` option to suppress the messages they write to stdout about
what they are doing (`issue 1254`_).

- Feature: The ``html`` command writes a ``.gitignore`` file into the HTML
output directory, to prevent the report from being committed to git.  If you
want to commit it, you will need to delete that file.  Closes `issue 1244`_.

- Feature: Added support for PyPy 3.8.

- Fix: More generated code is now excluded from measurement.  Code such as
`attrs`_ boilerplate, or doctest code, was being measured though the
synthetic line numbers meant they were never reported.  Once Cython was
involved though, the generated .so files were parsed as Python, raising
syntax errors, as reported in `issue 1160`_.  This is now fixed.

- Fix: When sorting human-readable names, numeric components are sorted
correctly: file10.py will appear after file9.py.  This applies to file names,
module names, environment variables, and test contexts.

- Performance: Branch coverage measurement is faster, though you might only
notice on code that is executed many times, such as long-running loops.

- Build: jQuery is no longer used or vendored (`issue 840`_ and `issue 1118`_).
Huge thanks to Nils Kattenbeck (septatrix) for the conversion to vanilla
JavaScript in `pull request 1248`_.

.. _issue 553: https://github.com/nedbat/coveragepy/issues/553
.. _issue 840: https://github.com/nedbat/coveragepy/issues/840
.. _issue 1118: https://github.com/nedbat/coveragepy/issues/1118
.. _issue 1160: https://github.com/nedbat/coveragepy/issues/1160
.. _issue 1244: https://github.com/nedbat/coveragepy/issues/1244
.. _pull request 1248: https://github.com/nedbat/coveragepy/pull/1248
.. _issue 1254: https://github.com/nedbat/coveragepy/issues/1254
.. _attrs: https://www.attrs.org/


.. _changes_602:

6.0.2

--------------------------

- Namespace packages being measured weren&#39;t properly handled by the new code
that ignores third-party packages. If the namespace package was installed, it
was ignored as a third-party package.  That problem (`issue 1231`_) is now
fixed.

- Packages named as &quot;source packages&quot; (with ``source``, or ``source_pkgs``, or
pytest-cov&#39;s ``--cov``) might have been only partially measured.  Their
top-level statements could be marked as unexecuted, because they were
imported by coverage.py before measurement began (`issue 1232`_).  This is
now fixed, but the package will be imported twice, once by coverage.py, then
again by your test suite.  This could cause problems if importing the package
has side effects.

- The :meth:`.CoverageData.contexts_by_lineno` method was documented to return
a dict, but was returning a defaultdict.  Now it returns a plain dict.  It
also no longer returns negative numbered keys.

.. _issue 1231: https://github.com/nedbat/coveragepy/issues/1231
.. _issue 1232: https://github.com/nedbat/coveragepy/issues/1232


.. _changes_601:

6.0.1

--------------------------

- In 6.0, the coverage.py exceptions moved from coverage.misc to
coverage.exceptions. These exceptions are not part of the public supported
API, CoverageException is. But a number of other third-party packages were
importing the exceptions from coverage.misc, so they are now available from
there again (`issue 1226`_).

- Changed an internal detail of how tomli is imported, so that tomli can use
coverage.py for their own test suite (`issue 1228`_).

- Defend against an obscure possibility under code obfuscation, where a
function can have an argument called &quot;self&quot;, but no local named &quot;self&quot;
(`pull request 1210`_).  Thanks, Ben Carlsson.

.. _pull request 1210: https://github.com/nedbat/coveragepy/pull/1210
.. _issue 1226: https://github.com/nedbat/coveragepy/issues/1226
.. _issue 1228: https://github.com/nedbat/coveragepy/issues/1228


.. _changes_60:

6.0

------------------------

- The ``coverage html`` command now prints a message indicating where the HTML
report was written.  Fixes `issue 1195`_.

- The ``coverage combine`` command now prints messages indicating each data
file being combined.  Fixes `issue 1105`_.

- The HTML report now includes a sentence about skipped files due to
``skip_covered`` or ``skip_empty`` settings.  Fixes `issue 1163`_.

- Unrecognized options in the configuration file are no longer errors. They are
now warnings, to ease the use of coverage across versions.  Fixes `issue
1035`_.

- Fix handling of exceptions through context managers in Python 3.10. A missing
exception is no longer considered a missing branch from the with statement.
Fixes `issue 1205`_.

- Fix another rarer instance of &quot;Error binding parameter 0 - probably
unsupported type.&quot; (`issue 1010`_).

- Creating a directory for the coverage data file now is safer against
conflicts when two coverage runs happen simultaneously (`pull 1220`_).
Thanks, Clément Pit-Claudel.

.. _issue 1035: https://github.com/nedbat/coveragepy/issues/1035
.. _issue 1105: https://github.com/nedbat/coveragepy/issues/1105
.. _issue 1163: https://github.com/nedbat/coveragepy/issues/1163
.. _issue 1195: https://github.com/nedbat/coveragepy/issues/1195
.. _issue 1205: https://github.com/nedbat/coveragepy/issues/1205
.. _pull 1220: https://github.com/nedbat/coveragepy/pull/1220


.. _changes_60b1:

6.0b1

--------------------------

- Dropped support for Python 2.7, PyPy 2, and Python 3.5.

- Added support for the Python 3.10 ``match/case`` syntax.

- Data collection is now thread-safe.  There may have been rare instances of
exceptions raised in multi-threaded programs.

- Plugins (like the `Django coverage plugin`_) were generating &quot;Already
imported a file that will be measured&quot; warnings about Django itself.  These
have been fixed, closing `issue 1150`_.

- Warnings generated by coverage.py are now real Python warnings.

- Using ``--fail-under=100`` with coverage near 100% could result in the
self-contradictory message :code:`total of 100 is less than fail-under=100`.
This bug (`issue 1168`_) is now fixed.

- The ``COVERAGE_DEBUG_FILE`` environment variable now accepts ``stdout`` and
``stderr`` to write to those destinations.

- TOML parsing now uses the `tomli`_ library.

- Some minor changes to usually invisible details of the HTML report:

- Use a modern hash algorithm when fingerprinting, for high-security
 environments (`issue 1189`_).  When generating the HTML report, we save the
 hash of the data, to avoid regenerating an unchanged HTML page. We used to
 use MD5 to generate the hash, and now use SHA-3-256.  This was never a
 security concern, but security scanners would notice the MD5 algorithm and
 raise a false alarm.

- Change how report file names are generated, to avoid leading underscores
 (`issue 1167`_), to avoid rare file name collisions (`issue 584`_), and to
 avoid file names becoming too long (`issue 580`_).

.. _Django coverage plugin: https://pypi.org/project/django-coverage-plugin/
.. _issue 580: https://github.com/nedbat/coveragepy/issues/580
.. _issue 584: https://github.com/nedbat/coveragepy/issues/584
.. _issue 1150: https://github.com/nedbat/coveragepy/issues/1150
.. _issue 1167: https://github.com/nedbat/coveragepy/issues/1167
.. _issue 1168: https://github.com/nedbat/coveragepy/issues/1168
.. _issue 1189: https://github.com/nedbat/coveragepy/issues/1189
.. _tomli: https://pypi.org/project/tomli/


.. _changes_56b1:

5.6b1

--------------------------

Note: 5.6 final was never released. These changes are part of 6.0.

- Third-party packages are now ignored in coverage reporting.  This solves a
few problems:

- Coverage will no longer report about other people&#39;s code (`issue 876`_).
 This is true even when using ``--source=.`` with a venv in the current
 directory.

- Coverage will no longer generate &quot;Already imported a file that will be
 measured&quot; warnings about coverage itself (`issue 905`_).

- The HTML report uses j/k to move up and down among the highlighted chunks of
code.  They used to highlight the current chunk, but 5.0 broke that behavior.
Now the highlighting is working again.

- The JSON report now includes ``percent_covered_display``, a string with the
total percentage, rounded to the same number of decimal places as the other
reports&#39; totals.

.. _issue 876: https://github.com/nedbat/coveragepy/issues/876
.. _issue 905: https://github.com/nedbat/coveragepy/issues/905


.. _changes_55:

5.5

------------------------

- ``coverage combine`` has a new option, ``--keep`` to keep the original data
files after combining them.  The default is still to delete the files after
they have been combined.  This was requested in `issue 1108`_ and implemented
in `pull request 1110`_.  Thanks, Éric Larivière.

- When reporting missing branches in ``coverage report``, branches aren&#39;t
reported that jump to missing lines.  This adds to the long-standing behavior
of not reporting branches from missing lines.  Now branches are only reported
if both the source and destination lines are executed.  Closes both `issue
1065`_ and `issue 955`_.

- Minor improvements to the HTML report:

- The state of the line visibility selector buttons is saved in local storage
 so you don&#39;t have to fiddle with them so often, fixing `issue 1123`_.

- It has a little more room for line numbers so that 4-digit numbers work
 well, fixing `issue 1124`_.

- Improved the error message when combining line and branch data, so that users
will be more likely to understand what&#39;s happening, closing `issue 803`_.

.. _issue 803: https://github.com/nedbat/coveragepy/issues/803
.. _issue 955: https://github.com/nedbat/coveragepy/issues/955
.. _issue 1065: https://github.com/nedbat/coveragepy/issues/1065
.. _issue 1108: https://github.com/nedbat/coveragepy/issues/1108
.. _pull request 1110: https://github.com/nedbat/coveragepy/pull/1110
.. _issue 1123: https://github.com/nedbat/coveragepy/issues/1123
.. _issue 1124: https://github.com/nedbat/coveragepy/issues/1124


.. _changes_54:

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/coverage
  • Changelog: https://pyup.io/changelogs/coverage/
  • Repo: https://github.com/nedbat/coveragepy </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha b8fdc25be5cb5d906baaa3789ff1ebfd62efa326

Update pytest-runner from 5.3.0 to 5.3.1

view details

pyup-bot

commit sha 34b20e9eff13d856032b18d1f9cea403e24af54f

Update wheel from 0.36.2 to 0.37.0

view details

pyup-bot

commit sha 92b2b6e5b1116a418abc6acb17596aadbbb55a16

Update pytest from 6.2.2 to 6.2.5

view details

pyup-bot

commit sha 348a40f0160e3f6472ede68c6d52bfe2f6a080f4

Update tox from 3.22 to 3.24.4

view details

pyup-bot

commit sha b9a33f6b87b53c4c8f9a6b870578c7159188550a

Update watchdog from 2.0.2 to 2.1.6

view details

pyup-bot

commit sha cb6e30152045d321758d2b1ec4c9e0e375d0af01

Update flake8 from 3.8.4 to 4.0.1

view details

pyup-bot

commit sha 0321edf09da5f7723a85db0774a7beb824dfd37d

Update pip from 21.0.1 to 21.3.1

view details

pyup-bot

commit sha 8ac1e835d2efa1606741eaf75a9405b5bfc548c7

Update sphinx from 3.5.1 to 4.3.0

view details

pyup-bot

commit sha bede4fbcc98be20114a4c60bc94b35674f9a7a30

Update twine from 3.3.0 to 3.6.0

view details

Diane DeMers Chen

commit sha 29ece76fc356ab407e310b15096e69cc41625c0a

Merge pull request #305 from purplediane/pyup-update-pytest-runner-5.3.0-to-5.3.1 Update pytest-runner to 5.3.1

view details

Diane DeMers Chen

commit sha 7ff2760c6306aad2f9d89efc80018d103c0afb83

Merge pull request #321 from purplediane/pyup-update-wheel-0.36.2-to-0.37.0 Update wheel to 0.37.0

view details

Diane DeMers Chen

commit sha 0fd708aa364c329eedd69f76b384dee0ff851544

Merge branch 'master' into pyup-update-pytest-6.2.2-to-6.2.5

view details

Diane DeMers Chen

commit sha 9eeff6d401c372c5f2a1b33f50f880ac69975572

Merge pull request #327 from purplediane/pyup-update-pytest-6.2.2-to-6.2.5 Update pytest to 6.2.5

view details

Diane DeMers Chen

commit sha f5000c616fbee62ffe75a6d7b17bed1ff1933366

Merge pull request #329 from purplediane/pyup-update-tox-3.22-to-3.24.4 Update tox to 3.24.4

view details

Diane DeMers Chen

commit sha 45d788487157ca74795478f1054472be1efc8c7a

Merge branch 'master' into pyup-update-watchdog-2.0.2-to-2.1.6

view details

Diane DeMers Chen

commit sha 7c5fe73545e2848a68f7358bb327aa347f315de1

Merge pull request #330 from purplediane/pyup-update-watchdog-2.0.2-to-2.1.6 Update watchdog to 2.1.6

view details

Diane DeMers Chen

commit sha 77b7f935fe8747bc97f8bd0113a99bef2630daa1

Merge branch 'master' into pyup-update-flake8-3.8.4-to-4.0.1

view details

Diane DeMers Chen

commit sha 3b861729084b192f1904ff615d182165eda12db0

Merge pull request #334 from purplediane/pyup-update-flake8-3.8.4-to-4.0.1 Update flake8 to 4.0.1

view details

Diane DeMers Chen

commit sha da4c146e90727f8a5b0c21726121f906f45dfe1e

Merge pull request #336 from purplediane/pyup-update-pip-21.0.1-to-21.3.1 Update pip to 21.3.1

view details

Diane DeMers Chen

commit sha 925f1af4e5646876ebb65d81583d0ba8f40206c1

Merge pull request #340 from purplediane/pyup-update-sphinx-3.5.1-to-4.3.0 Update sphinx to 4.3.0

view details

push time in 12 days

delete branch purplediane/shortbread

delete branch : pyup-update-twine-3.3.0-to-3.6.0

delete time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha bede4fbcc98be20114a4c60bc94b35674f9a7a30

Update twine from 3.3.0 to 3.6.0

view details

Diane DeMers Chen

commit sha cf722843f38b2e54f40d4074c6da871e0c5ba26e

Merge branch 'master' into pyup-update-twine-3.3.0-to-3.6.0

view details

Diane DeMers Chen

commit sha 4b2a1d199f112a803c8d9bad4e0a28a05a1e88e0

Merge pull request #341 from purplediane/pyup-update-twine-3.3.0-to-3.6.0 Update twine to 3.6.0

view details

push time in 12 days

PR merged purplediane/shortbread

Update twine to 3.6.0

This PR updates twine from 3.3.0 to 3.6.0.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/twine
  • Docs: https://twine.readthedocs.io/ </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha b8fdc25be5cb5d906baaa3789ff1ebfd62efa326

Update pytest-runner from 5.3.0 to 5.3.1

view details

pyup-bot

commit sha 34b20e9eff13d856032b18d1f9cea403e24af54f

Update wheel from 0.36.2 to 0.37.0

view details

pyup-bot

commit sha 92b2b6e5b1116a418abc6acb17596aadbbb55a16

Update pytest from 6.2.2 to 6.2.5

view details

pyup-bot

commit sha 348a40f0160e3f6472ede68c6d52bfe2f6a080f4

Update tox from 3.22 to 3.24.4

view details

pyup-bot

commit sha b9a33f6b87b53c4c8f9a6b870578c7159188550a

Update watchdog from 2.0.2 to 2.1.6

view details

pyup-bot

commit sha cb6e30152045d321758d2b1ec4c9e0e375d0af01

Update flake8 from 3.8.4 to 4.0.1

view details

pyup-bot

commit sha 0321edf09da5f7723a85db0774a7beb824dfd37d

Update pip from 21.0.1 to 21.3.1

view details

pyup-bot

commit sha 8ac1e835d2efa1606741eaf75a9405b5bfc548c7

Update sphinx from 3.5.1 to 4.3.0

view details

Diane DeMers Chen

commit sha 29ece76fc356ab407e310b15096e69cc41625c0a

Merge pull request #305 from purplediane/pyup-update-pytest-runner-5.3.0-to-5.3.1 Update pytest-runner to 5.3.1

view details

Diane DeMers Chen

commit sha 7ff2760c6306aad2f9d89efc80018d103c0afb83

Merge pull request #321 from purplediane/pyup-update-wheel-0.36.2-to-0.37.0 Update wheel to 0.37.0

view details

Diane DeMers Chen

commit sha 0fd708aa364c329eedd69f76b384dee0ff851544

Merge branch 'master' into pyup-update-pytest-6.2.2-to-6.2.5

view details

Diane DeMers Chen

commit sha 9eeff6d401c372c5f2a1b33f50f880ac69975572

Merge pull request #327 from purplediane/pyup-update-pytest-6.2.2-to-6.2.5 Update pytest to 6.2.5

view details

Diane DeMers Chen

commit sha f5000c616fbee62ffe75a6d7b17bed1ff1933366

Merge pull request #329 from purplediane/pyup-update-tox-3.22-to-3.24.4 Update tox to 3.24.4

view details

Diane DeMers Chen

commit sha 45d788487157ca74795478f1054472be1efc8c7a

Merge branch 'master' into pyup-update-watchdog-2.0.2-to-2.1.6

view details

Diane DeMers Chen

commit sha 7c5fe73545e2848a68f7358bb327aa347f315de1

Merge pull request #330 from purplediane/pyup-update-watchdog-2.0.2-to-2.1.6 Update watchdog to 2.1.6

view details

Diane DeMers Chen

commit sha 77b7f935fe8747bc97f8bd0113a99bef2630daa1

Merge branch 'master' into pyup-update-flake8-3.8.4-to-4.0.1

view details

Diane DeMers Chen

commit sha 3b861729084b192f1904ff615d182165eda12db0

Merge pull request #334 from purplediane/pyup-update-flake8-3.8.4-to-4.0.1 Update flake8 to 4.0.1

view details

Diane DeMers Chen

commit sha da4c146e90727f8a5b0c21726121f906f45dfe1e

Merge pull request #336 from purplediane/pyup-update-pip-21.0.1-to-21.3.1 Update pip to 21.3.1

view details

Diane DeMers Chen

commit sha 925f1af4e5646876ebb65d81583d0ba8f40206c1

Merge pull request #340 from purplediane/pyup-update-sphinx-3.5.1-to-4.3.0 Update sphinx to 4.3.0

view details

Diane DeMers Chen

commit sha cf722843f38b2e54f40d4074c6da871e0c5ba26e

Merge branch 'master' into pyup-update-twine-3.3.0-to-3.6.0

view details

push time in 12 days

delete branch purplediane/shortbread

delete branch : pyup-update-sphinx-3.5.1-to-4.3.0

delete time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha 8ac1e835d2efa1606741eaf75a9405b5bfc548c7

Update sphinx from 3.5.1 to 4.3.0

view details

Diane DeMers Chen

commit sha 925f1af4e5646876ebb65d81583d0ba8f40206c1

Merge pull request #340 from purplediane/pyup-update-sphinx-3.5.1-to-4.3.0 Update sphinx to 4.3.0

view details

push time in 12 days

PR merged purplediane/shortbread

Update sphinx to 4.3.0

This PR updates Sphinx from 3.5.1 to 4.3.0.

<details> <summary>Changelog</summary>

4.3.0

=====================================

Dependencies
------------

* Support Python 3.10

Incompatible changes
--------------------

* 9649: ``searchindex.js``: the embedded data has changed format to allow
objects with the same name in different domains.
* 9672: The rendering of Python domain declarations is implemented
with more docutils nodes to allow better CSS styling.
It may break existing styling.
* 9672: the signature of
:py:meth:`domains.py.PyObject.get_signature_prefix` has changed to
return a list of nodes instead of a plain string.
* 9695: ``domains.js.JSObject.display_prefix`` has been changed into a method
``get_display_prefix`` which now returns a list of nodes
instead of a plain string.
* 9695: The rendering of Javascript domain declarations is implemented
with more docutils nodes to allow better CSS styling.
It may break existing styling.
* 9450: mathjax: Load MathJax via &quot;defer&quot; strategy

Deprecated
----------

* ``sphinx.ext.autodoc.AttributeDocumenter._datadescriptor``
* ``sphinx.writers.html.HTMLTranslator._fieldlist_row_index``
* ``sphinx.writers.html.HTMLTranslator._table_row_index``
* ``sphinx.writers.html5.HTML5Translator._fieldlist_row_index``
* ``sphinx.writers.html5.HTML5Translator._table_row_index``

Features added
--------------

* 9639: autodoc: Support asynchronous generator functions
* 9664: autodoc: ``autodoc-process-bases`` supports to inject reST snippet as a
base class
* 9691: C, added new info-field ``retval``
for :rst:dir:`c:function` and :rst:dir:`c:macro`.
* C++, added new info-field ``retval`` for :rst:dir:`cpp:function`.
* 9618: i18n: Add :confval:`gettext_allow_fuzzy_translations` to allow &quot;fuzzy&quot;
messages for translation
* 9672: More CSS classes on Python domain descriptions
* 9695: More CSS classes on Javascript domain descriptions
* 9683: Revert the removal of ``add_stylesheet()`` API.  It will be kept until
the Sphinx-6.0 release
* 2068, add :confval:`intersphinx_disabled_reftypes` for disabling
interphinx resolution of cross-references that do not have an explicit
inventory specification. Specific types of cross-references can be disabled,
e.g., ``std:doc`` or all cross-references in a specific domain,
e.g., ``std:*``.
* 9623: Allow to suppress &quot;toctree contains reference to excluded document&quot;
warnings using :confval:`suppress_warnings`

Bugs fixed
----------

* 9630: autodoc: Failed to build cross references if :confval:`primary_domain`
is not &#39;py&#39;
* 9644: autodoc: Crashed on getting source info from problematic object
* 9655: autodoc: mocked object having doc comment is warned unexpectedly
* 9651: autodoc: return type field is not generated even if
:confval:`autodoc_typehints_description_target` is set to &quot;documented&quot; when
its info-field-list contains ``:returns:`` field
* 9657: autodoc: The base class for a subclass of mocked object is incorrect
* 9607: autodoc: Incorrect base class detection for the subclasses of the
generic class
* 9755: autodoc: memory addresses are shown for aliases
* 9752: autodoc: Failed to detect type annotation for slots attribute
* 9756: autodoc: Crashed if classmethod does not have __func__ attribute
* 9757: autodoc: :confval:`autodoc_inherit_docstrings` does not effect to
overriden classmethods
* 9781: autodoc: :confval:`autodoc_preserve_defaults` does not support
hexadecimal numeric
* 9630: autosummary: Failed to build summary table if :confval:`primary_domain`
is not &#39;py&#39;
* 9670: html: Fix download file with special characters
* 9710: html: Wrong styles for even/odd rows in nested tables
* 9763: html: parameter name and its type annotation are not separated in HTML
* 9649: HTML search: when objects have the same name but in different domains,
return all of them as result instead of just one.
* 7634: intersphinx: references on the file in sub directory are broken
* 9737: LaTeX: hlist is rendered as a list containing &quot;aggedright&quot; text
* 9678: linkcheck: file extension was shown twice in warnings
* 9697: py domain: An index entry with parens was registered for ``py:method``
directive with ``:property:`` option
* 9775: py domain: Literal typehint was converted to a cross reference when
:confval:`autodoc_typehints=&#39;description&#39;`
* 9708: needs_extension failed to check double-digit version correctly
* 9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option
* 9733: Fix for logging handler flushing warnings in the middle of the docs
build
* 9656: Fix warnings without subtype being incorrectly suppressed
* Intersphinx, for unresolved references with an explicit inventory,
e.g., ``proj:myFunc``, leave the inventory prefix in the unresolved text.

4.2.0

=====================================

Features added
--------------

* 9445: autodoc: Support class properties
* 9479: autodoc: Emit a warning if target is a mocked object
* 9560: autodoc: Allow to refer NewType instances with module name in Python
3.10 or above
* 9447: html theme: Expose the version of Sphinx in the form of tuple as a
template variable ``sphinx_version_tuple``
* 9594: manpage: Suppress the title of man page if description is empty
* 9445: py domain: ``:py:property:`` directive supports ``:classmethod:``
option to describe the class property
* 9524: test: SphinxTestApp can take ``builddir`` as an argument
* 9535: C and C++, support more fundamental types, including GNU extensions.

Bugs fixed
----------

* 9608: apidoc: apidoc does not generate a module definition for implicit
namespace package
* 9504: autodoc: generate incorrect reference to the parent class if the target
class inherites the class having ``_name`` attribute
* 9537, 9589: autodoc: Some objects under ``typing`` module are not displayed
well with the HEAD of 3.10
* 9487: autodoc: typehint for cached_property is not shown
* 9509: autodoc: AttributeError is raised on failed resolving typehints
* 9518: autodoc: autodoc_docstring_signature does not effect to ``__init__()``
and ``__new__()``
* 9522: autodoc: PEP 585 style typehints having arguments (ex. ``list[int]``)
are not displayed well
* 9481: autosummary: some warnings contain non-existing filenames
* 9568: autosummary: summarise overlined sectioned headings correctly
* 9600: autosummary: Type annotations which contain commas in autosummary table
are not removed completely
* 9481: c domain: some warnings contain non-existing filenames
* 9481: cpp domain: some warnings contain non-existing filenames
* 9456: html search: abbreation marks are inserted to the search result if
failed to fetch the content of the page
* 9617: html search: The JS requirement warning is shown if browser is slow
* 9267: html theme: CSS and JS files added by theme were loaded twice
* 9585: py domain: ``:type:`` option for :rst:dir:`py:property` directive does
not create a hyperlink
* 9576: py domain: Literal typehint was converted to a cross reference
* 9535 comment: C++, fix parsing of defaulted function parameters that are
function pointers.
* 9564: smartquotes: don&#39;t adjust typography for text with
language-highlighted ``:code:`` role.
* 9512: sphinx-build: crashed with the HEAD of Python 3.10

4.1.2

=====================================

Incompatible changes
--------------------

* 9435: linkcheck: Disable checking automatically generated anchors on
github.com (ex. anchors in reST/Markdown documents)

Bugs fixed
----------

* 9489: autodoc: Custom types using ``typing.NewType`` are not displayed well
with the HEAD of 3.10
* 9490: autodoc: Some objects under ``typing`` module are not displayed well
with the HEAD of 3.10
* 9436, 9471: autodoc: crashed if ``autodoc_class_signature = &quot;separated&quot;``
* 9456: html search: html_copy_source can&#39;t control the search summaries
* 9500: LaTeX: Failed to build Japanese document on Windows
* 9435: linkcheck: Failed to check anchors in github.com

4.1.1

=====================================

Dependencies
------------

* 9434: sphinxcontrib-htmlhelp-2.0.0 or above
* 9434: sphinxcontrib-serializinghtml-1.1.5 or above

Bugs fixed
----------

* 9438: html: HTML logo or Favicon specified as file not being found on output

4.1.0

=====================================

Dependencies
------------

* Support jinja2-3.0

Deprecated
----------

* The ``app`` argument of ``sphinx.environment.BuildEnvironment`` becomes
required
* ``sphinx.application.Sphinx.html_theme``
* ``sphinx.ext.autosummary._app``
* ``sphinx.util.docstrings.extract_metadata()``

Features added
--------------

* 8107: autodoc: Add ``class-doc-from`` option to :rst:dir:`autoclass`
directive to control the content of the specific class like
:confval:`autoclass_content`
* 8588: autodoc: :confval:`autodoc_type_aliases` now supports dotted name. It
allows you to define an alias for a class with module name like
``foo.bar.BazClass``
* 9175: autodoc: Special member is not documented in the module
* 9195: autodoc: The arguments of ``typing.Literal`` are wrongly rendered
* 9185: autodoc: :confval:`autodoc_typehints` allows ``&#39;both&#39;`` setting to
allow typehints to be included both in the signature and description
* 4257: autodoc: Add :confval:`autodoc_class_signature` to separate the class
entry and the definition of ``__init__()`` method
* 8061, 9218: autodoc: Support variable comment for alias classes
* 3014: autodoc: Add :event:`autodoc-process-bases` to modify the base classes
of the class definitions
* 9272: autodoc: Render enum values for the default argument value better
* 9384: autodoc: ``autodoc_typehints=&#39;none&#39;`` now erases typehints for
variables, attributes and properties
* 3257: autosummary: Support instance attributes for classes
* 9358: html: Add &quot;heading&quot; role to the toctree items
* 9225: html: Add span tag to the return typehint of method/function
* 9129: html search: Show search summaries when html_copy_source = False
* 9307: html search: Prevent corrections and completions in search field
* 9120: html theme: Eliminate prompt characters of code-block from copyable
text
* 9176: i18n: Emit a debug message if message catalog file not found under
:confval:`locale_dirs`
* 9414: LaTeX: Add xeCJKVerbAddon to default fvset config for Chinese documents
* 9016: linkcheck: Support checking anchors on github.com
* 9016: linkcheck: Add a new event :event:`linkcheck-process-uri` to modify
URIs before checking hyperlinks
* 6525: linkcheck: Add :confval:`linkcheck_allowed_redirects` to mark
hyperlinks that are redirected to expected URLs as &quot;working&quot;
* 1874: py domain: Support union types using ``|`` in info-field-list
* 9268: py domain: :confval:`python_use_unqualified_type_names` supports type
field in info-field-list
* 9097: Optimize the parallel build
* 9131: Add :confval:`nitpick_ignore_regex` to ignore nitpicky warnings using
regular expressions
* 9174: Add ``Sphinx.set_html_assets_policy`` to tell extensions to include
HTML assets in all the pages. Extensions can check this via
``Sphinx.registry.html_assets_policy``
* C++, add support for

- ``inline`` variables,
- ``consteval`` functions,
- ``constinit`` variables,
- ``char8_t``,
- ``explicit(&lt;constant expression&gt;)`` specifier,
- digit separators in literals, and
- constraints in placeholder type specifiers, aka. adjective syntax
 (e.g., ``Sortable auto &amp;v``).

* C, add support for digit separators in literals.
* 9166: LaTeX: support containers in LaTeX output


Bugs fixed
----------

* 8872: autodoc: stacked singledispatches are wrongly rendered
* 8597: autodoc: a docsting having metadata only should be treated as
undocumented
* 9185: autodoc: typehints for overloaded functions and methods are inaccurate
* 9250: autodoc: The inherited method not having docstring is wrongly parsed
* 9283: autodoc: autoattribute directive failed to generate document for an
attribute not having any comment
* 9364: autodoc: single element tuple on the default argument value is wrongly
rendered
* 9362: autodoc: AttributeError is raised on processing a subclass of Tuple[()]
* 9404: autodoc: TypeError is raised on processing dict-like object (not a
class) via autoclass directive
* 9317: html: Pushing left key causes visiting the next page at the first page
* 9381: html: URL for html_favicon and html_log does not work
* 9270: html theme : pyramid theme generates incorrect logo links
* 9217: manpage: The name of manpage directory that is generated by
:confval:`man_make_section_directory` is not correct
* 9350: manpage: Fix font isn&#39;t reset after keyword at the top of samp role
* 9306: Linkcheck reports broken link when remote server closes the connection
on HEAD request
* 9280: py domain: &quot;exceptions&quot; module is not displayed
* 9418: py domain: a Callable annotation with no parameters
(e.g. ``Callable[[], None])`` will be rendered with a bracket missing
(``Callable[], None]``)
* 9319: quickstart: Make sphinx-quickstart exit when conf.py already exists
* 9387: xml: XML Builder ignores custom visitors
* 9224: ``:param:`` and ``:type:`` fields does not support a type containing
whitespace (ex. ``Dict[str, str]``)
* 8945: when transforming typed fields, call the specified role instead of
making an single xref. For C and C++, use the ``expr`` role for typed fields.

4.0.3

=====================================

Features added
--------------

* C, add C23 keywords ``_Decimal32``, ``_Decimal64``, and ``_Decimal128``.
* 9354: C, add :confval:`c_extra_keywords` to allow user-defined keywords
during parsing.
* Revert the removal of ``sphinx.util:force_decode()`` to become some 3rd party
extensions available again during 5.0

Bugs fixed
----------

* 9330: changeset domain: :rst:dir:`versionchanged` with contents being a list
will cause error during pdf build
* 9313: LaTeX: complex table with merged cells broken since 4.0
* 9305: LaTeX: backslash may cause Improper discretionary list pdf build error
with Japanese engines
* 9354: C, remove special macro names from the keyword list.
See also :confval:`c_extra_keywords`.
* 9322: KeyError is raised on PropagateDescDomain transform

4.0.2

=====================================

Dependencies
------------

* 9216: Support jinja2-3.0

Incompatible changes
--------------------

* 9222: Update Underscore.js to 1.13.1
* 9217: manpage: Stop creating a section directory on build manpage by default
(see :confval:`man_make_section_directory`)

Bugs fixed
----------

* 9210: viewcode: crashed if non importable modules found on parallel build
* 9240: Unknown node error for pending_xref_condition is raised if an extension
that does not support the node installs a missing-reference handler

4.0.1

=====================================

Bugs fixed
----------

* 9189: autodoc: crashed when ValueError is raised on generating signature
from a property of the class
* 9188: autosummary: warning is emitted if list value is set to
autosummary_generate
* 8380: html search: tags for search result are broken
* 9198: i18n: Babel emits errors when running compile_catalog
* 9205: py domain: The :canonical: option causes &quot;more than one target for
cross-reference&quot; warning
* 9201: websupport: UndefinedError is raised: &#39;css_tag&#39; is undefined

4.0.0

=====================================

Dependencies
------------

4.0.0b3

* 9167: html: Failed to add CSS files to the specific page

4.0.0b2

* C, C++, fix ``KeyError`` when an ``alias`` directive is the first C/C++
directive in a file with another C/C++ directive later.

4.0.0b1

* 8917: autodoc: Raises a warning if function has wrong __globals__ value
* 8415: autodoc: a TypeVar imported from other module is not resolved (in
Python 3.7 or above)
* 8992: autodoc: Failed to resolve types.TracebackType type annotation
* 8905: html: html_add_permalinks=None and html_add_permalinks=&quot;&quot; are ignored
* 8380: html search: Paragraphs in search results are not identified as ``&lt;p&gt;``
* 8915: html theme: The translation of sphinx_rtd_theme does not work
* 8342: Emit a warning if a unknown domain is given for directive or role (ex.
``:unknown:doc:``)
* 7241: LaTeX: No wrapping for ``cpp:enumerator``
* 8711: LaTeX: backticks in code-blocks trigger latexpdf build warning (and font
change) with late TeXLive 2019
* 8253: LaTeX: Figures with no size defined get overscaled (compared to images
with size explicitly set in pixels) (fixed for ``&#39;pdflatex&#39;/&#39;lualatex&#39;`` only)
* 8881: LaTeX: The depth of bookmarks panel in PDF is not enough for navigation
* 8874: LaTeX: the fix to two minor Pygments LaTeXFormatter output issues ignore
Pygments style
* 8925: LaTeX: 3.5.0 ``verbatimmaxunderfull`` setting does not work as
expected
* 8980: LaTeX: missing line break in ``\pysigline``
* 8995: LaTeX: legacy ``\pysiglinewithargsret`` does not compute correctly
available  horizontal space and should use a ragged right style
* 9009: LaTeX: &quot;release&quot; value with underscore leads to invalid LaTeX
* 8911: C++: remove the longest matching prefix in
:confval:`cpp_index_common_prefix` instead of the first that matches.
* C, properly reject function declarations when a keyword is used
as parameter name.
* 8933: viewcode: Failed to create back-links on parallel build
* 8960: C and C++, fix rendering of (member) function pointer types in
function parameter lists.
* C++, fix linking of names in array declarators, pointer to member
(function) declarators, and in the argument to ``sizeof...``.
* C, fix linking of names in array declarators.

3.5.5

==============================

3.5.4

=====================================

Dependencies
------------

* 9071: Restrict docutils to 0.16

Bugs fixed
----------

* 9078: autodoc: Async staticmethods and classmethods are considered as non
async coroutine-functions with Python3.10
* 8870, 9001, 9051: html theme: The style are not applied with docutils-0.17

- toctree captions
- The content of ``sidebar`` directive
- figures

3.5.3

=====================================

Features added
--------------

* 8959: using UNIX path separator in image directive confuses Sphinx on Windows

3.5.2

=====================================

Bugs fixed
----------

* 8943: i18n: Crashed by broken translation messages in ES, EL and HR
* 8936: LaTeX: A custom LaTeX builder fails with unknown node error
* 8952: Exceptions raised in a Directive cause parallel builds to hang

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/sphinx
  • Changelog: https://pyup.io/changelogs/sphinx/
  • Homepage: https://www.sphinx-doc.org/ </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 12 days

delete branch purplediane/shortbread

delete branch : pyup-update-pip-21.0.1-to-21.3.1

delete time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha 0321edf09da5f7723a85db0774a7beb824dfd37d

Update pip from 21.0.1 to 21.3.1

view details

Diane DeMers Chen

commit sha da4c146e90727f8a5b0c21726121f906f45dfe1e

Merge pull request #336 from purplediane/pyup-update-pip-21.0.1-to-21.3.1 Update pip to 21.3.1

view details

push time in 12 days

PR merged purplediane/shortbread

Update pip to 21.3.1

This PR updates pip from 21.0.1 to 21.3.1.

<details> <summary>Changelog</summary>

21.3.1

===================


Bug Fixes
---------


- Always refuse installing or building projects that have no ``pyproject.toml`` nor
``setup.py``. (`10531 &lt;https://github.com/pypa/pip/issues/10531&gt;`_)
- Tweak running-as-root detection, to check ``os.getuid`` if it exists, on Unix-y and non-Linux/non-MacOS machines. (`10565 &lt;https://github.com/pypa/pip/issues/10565&gt;`_)
- When installing projects with a ``pyproject.toml`` in editable mode, and the build
backend does not support :pep:`660`, prepare metadata using
``prepare_metadata_for_build_wheel`` instead of ``setup.py egg_info``. Also, refuse
installing projects that only have a ``setup.cfg`` and no ``setup.py`` nor
``pyproject.toml``. These restore the pre-21.3 behaviour. (`10573 &lt;https://github.com/pypa/pip/issues/10573&gt;`_)
- Restore compatibility of where configuration files are loaded from on MacOS (back to ``Library/Application Support/pip``, instead of ``Preferences/pip``). (`10585 &lt;https://github.com/pypa/pip/issues/10585&gt;`_)

Vendored Libraries
------------------


- Upgrade pep517 to 0.12.0

21.3

=================

Deprecations and Removals
-------------------------

- Improve deprecation warning regarding the copying of source trees when installing from a local directory. (`10128 &lt;https://github.com/pypa/pip/issues/10128&gt;`_)
- Suppress location mismatch warnings when pip is invoked from a Python source
tree, so ``ensurepip`` does not emit warnings on CPython ``make install``. (`10270 &lt;https://github.com/pypa/pip/issues/10270&gt;`_)
- On Python 3.10 or later, the installation scheme backend has been changed to use
``sysconfig``. This is to anticipate the deprecation of ``distutils`` in Python
3.10, and its scheduled removal in 3.12. For compatibility considerations, pip
installations running on Python 3.9 or lower will continue to use ``distutils``. (`10358 &lt;https://github.com/pypa/pip/issues/10358&gt;`_)
- Remove the ``--build-dir`` option and aliases, one last time. (`10485 &lt;https://github.com/pypa/pip/issues/10485&gt;`_)
- In-tree builds are now the default. ``--use-feature=in-tree-build`` is now
ignored. ``--use-deprecated=out-of-tree-build`` may be used temporarily to ease
the transition. (`10495 &lt;https://github.com/pypa/pip/issues/10495&gt;`_)
- Un-deprecate source distribution re-installation behaviour. (`8711 &lt;https://github.com/pypa/pip/issues/8711&gt;`_)

Features
--------

- Replace vendored appdirs with platformdirs. (`10202 &lt;https://github.com/pypa/pip/issues/10202&gt;`_)
- Support `PEP 610 &lt;https://www.python.org/dev/peps/pep-0610/&gt;`_ to detect
editable installs in ``pip freeze`` and  ``pip list``. The ``pip list`` column output
has a new ``Editable project location`` column, and the JSON output has a new
``editable_project_location`` field. (`10249 &lt;https://github.com/pypa/pip/issues/10249&gt;`_)
- ``pip freeze`` will now always fallback to reporting the editable project
location when it encounters a VCS error while analyzing an editable
requirement. Before, it sometimes reported the requirement as non-editable. (`10410 &lt;https://github.com/pypa/pip/issues/10410&gt;`_)
- ``pip show`` now sorts ``Requires`` and ``Required-By`` alphabetically. (`10422 &lt;https://github.com/pypa/pip/issues/10422&gt;`_)
- Do not raise error when there are no files to remove with ``pip cache purge/remove``.
Instead log a warning and continue (to log that we removed 0 files). (`10459 &lt;https://github.com/pypa/pip/issues/10459&gt;`_)
- When backtracking during dependency resolution, prefer the dependencies which are involved in the most recent conflict. This can significantly reduce the amount of backtracking required. (`10479 &lt;https://github.com/pypa/pip/issues/10479&gt;`_)
- Cache requirement objects, to improve performance reducing reparses of requirement strings. (`10550 &lt;https://github.com/pypa/pip/issues/10550&gt;`_)
- Support editable installs for projects that have a ``pyproject.toml`` and use a
build backend that supports :pep:`660`. (`8212 &lt;https://github.com/pypa/pip/issues/8212&gt;`_)
- When a revision is specified in a Git URL, use git&#39;s partial clone feature to speed up source retrieval. (`9086 &lt;https://github.com/pypa/pip/issues/9086&gt;`_)
- Add a ``--debug`` flag, to enable a mode that doesn&#39;t log errors and propagates them to the top level instead. This is primarily to aid with debugging pip&#39;s crashes. (`9349 &lt;https://github.com/pypa/pip/issues/9349&gt;`_)
- If a host is explicitly specified as trusted by the user (via the --trusted-host option), cache HTTP responses from it in addition to HTTPS ones. (`9498 &lt;https://github.com/pypa/pip/issues/9498&gt;`_)

Bug Fixes
---------

- Present a better error message, when a ``file:`` URL is not found. (`10263 &lt;https://github.com/pypa/pip/issues/10263&gt;`_)
- Fix the auth credential cache to allow for the case in which
the index url contains the username, but the password comes
from an external source, such as keyring. (`10269 &lt;https://github.com/pypa/pip/issues/10269&gt;`_)
- Fix double unescape of HTML ``data-requires-python`` and ``data-yanked`` attributes. (`10378 &lt;https://github.com/pypa/pip/issues/10378&gt;`_)
- New resolver: Fixes depth ordering of packages during resolution, e.g. a dependency 2 levels deep will be ordered before a dependency 3 levels deep. (`10482 &lt;https://github.com/pypa/pip/issues/10482&gt;`_)
- Correctly indent metadata preparation messages in pip output. (`10524 &lt;https://github.com/pypa/pip/issues/10524&gt;`_)

Vendored Libraries
------------------

- Remove appdirs as a vendored dependency.
- Upgrade distlib to 0.3.3
- Upgrade distro to 1.6.0
- Patch pkg_resources to use platformdirs rather than appdirs.
- Add platformdirs as a vendored dependency.
- Upgrade progress to 1.6
- Upgrade resolvelib to 0.8.0
- Upgrade urllib3 to 1.26.7

Improved Documentation
----------------------

- Update links of setuptools as setuptools moved these documents. The Simple Repository link now points to PyPUG as that is the canonical place of packaging specification, and setuptools&#39;s ``easy_install`` is deprecated. (`10430 &lt;https://github.com/pypa/pip/issues/10430&gt;`_)
- Create a &quot;Build System Interface&quot; reference section, for documenting how pip interacts with build systems. (`10497 &lt;https://github.com/pypa/pip/issues/10497&gt;`_)

21.2.4

===================

Bug Fixes
---------

- Fix 3.6.0 compatibility in link comparison logic. (`10280 &lt;https://github.com/pypa/pip/issues/10280&gt;`_)

21.2.3

===================

Bug Fixes
---------

- Modify the ``sysconfig.get_preferred_scheme`` function check to be
compatible with CPython 3.10’s alphareleases. (`10252 &lt;https://github.com/pypa/pip/issues/10252&gt;`_)

21.2.2

===================

Bug Fixes
---------

- New resolver: When a package is specified with extras in constraints, and with
extras in non-constraint requirements, the resolver now correctly identifies the
constraint&#39;s existence and avoids backtracking. (`10233 &lt;https://github.com/pypa/pip/issues/10233&gt;`_)

21.2.1

===================

Process
-------

- The source distribution re-installation feature removal has been delayed to 21.3.

21.2

=================

Process
-------

- ``pip freeze``, ``pip list``, and ``pip show`` no longer normalize underscore
(``_``) in distribution names to dash (``-``). This is a side effect of the
migration to ``importlib.metadata``, since the underscore-dash normalization
behavior is non-standard and specific to setuptools. This should not affect
other parts of pip (for example, when feeding the ``pip freeze`` result back
into ``pip install``) since pip internally performs standard PEP 503
normalization independently to setuptools.

Deprecations and Removals
-------------------------

- Git version parsing is now done with regular expression to prepare for the
pending upstream removal of non-PEP-440 version parsing logic. (`10117 &lt;https://github.com/pypa/pip/issues/10117&gt;`_)
- Re-enable the &quot;Value for ... does not match&quot; location warnings to field a new
round of feedback for the ``distutils``-``sysconfig`` transition. (`10151 &lt;https://github.com/pypa/pip/issues/10151&gt;`_)
- Remove deprecated ``--find-links`` option in ``pip freeze`` (`9069 &lt;https://github.com/pypa/pip/issues/9069&gt;`_)

Features
--------

- New resolver: Loosen URL comparison logic when checking for direct URL reference
equivalency. The logic includes the following notable characteristics:

* The authentication part of the URL is explicitly ignored.
* Most of the fragment part, including ``egg=``, is explicitly ignored. Only
 ``subdirectory=`` and hash values (e.g. ``sha256=``) are kept.
* The query part of the URL is parsed to allow ordering differences. (`10002 &lt;https://github.com/pypa/pip/issues/10002&gt;`_)
- Support TOML v1.0.0 syntax in ``pyproject.toml``. (`10034 &lt;https://github.com/pypa/pip/issues/10034&gt;`_)
- Added a warning message for errors caused due to Long Paths being disabled on Windows. (`10045 &lt;https://github.com/pypa/pip/issues/10045&gt;`_)
- Change the encoding of log file from default text encoding to UTF-8. (`10071 &lt;https://github.com/pypa/pip/issues/10071&gt;`_)
- Log the resolved commit SHA when installing a package from a Git repository. (`10149 &lt;https://github.com/pypa/pip/issues/10149&gt;`_)
- Add a warning when passing an invalid requirement to ``pip uninstall``. (`4958 &lt;https://github.com/pypa/pip/issues/4958&gt;`_)
- Add new subcommand ``pip index`` used to interact with indexes, and implement
``pip index version`` to list available versions of a package. (`7975 &lt;https://github.com/pypa/pip/issues/7975&gt;`_)
- When pip is asked to uninstall a project without the dist-info/RECORD file
it will no longer traceback with FileNotFoundError,
but it will provide a better error message instead, such as::

   ERROR: Cannot uninstall foobar 0.1, RECORD file not found. You might be able to recover from this via: &#39;pip install --force-reinstall --no-deps foobar==0.1&#39;.

When dist-info/INSTALLER is present and contains some useful information, the info is included in the error message instead::

   ERROR: Cannot uninstall foobar 0.1, RECORD file not found. Hint: The package was installed by rpm.

(`8954 &lt;https://github.com/pypa/pip/issues/8954&gt;`_)
- Add an additional level of verbosity. ``--verbose`` (and the shorthand ``-v``) now
contains significantly less output, and users that need complete full debug-level output
should pass it twice (``--verbose --verbose`` or ``-vv``). (`9450 &lt;https://github.com/pypa/pip/issues/9450&gt;`_)
- New resolver: The order of dependencies resolution has been tweaked to traverse
the dependency graph in a more breadth-first approach. (`9455 &lt;https://github.com/pypa/pip/issues/9455&gt;`_)
- Make &quot;yes&quot; the default choice in ``pip uninstall``&#39;s prompt. (`9686 &lt;https://github.com/pypa/pip/issues/9686&gt;`_)
- Add a special error message when users forget the ``-r`` flag when installing. (`9915 &lt;https://github.com/pypa/pip/issues/9915&gt;`_)
- New resolver: A distribution&#39;s ``Requires-Python`` metadata is now checked
before its Python dependencies. This makes the resolver fail quicker when
there&#39;s an interpreter version conflict. (`9925 &lt;https://github.com/pypa/pip/issues/9925&gt;`_)
- Suppress &quot;not on PATH&quot; warning when ``--prefix`` is given. (`9931 &lt;https://github.com/pypa/pip/issues/9931&gt;`_)
- Include ``rustc`` version in pip&#39;s ``User-Agent``, when the system has ``rustc``. (`9987 &lt;https://github.com/pypa/pip/issues/9987&gt;`_)

Bug Fixes
---------

- Update vendored six to 1.16.0 and urllib3 to 1.26.5 (`10043 &lt;https://github.com/pypa/pip/issues/10043&gt;`_)
- Correctly allow PEP 517 projects to be detected without warnings in ``pip freeze``. (`10080 &lt;https://github.com/pypa/pip/issues/10080&gt;`_)
- Strip leading slash from a ``file://`` URL built from an path with the Windows
drive notation. This fixes bugs where the ``file://`` URL cannot be correctly
used as requirement, constraint, or index URLs on Windows. (`10115 &lt;https://github.com/pypa/pip/issues/10115&gt;`_)
- New resolver: URL comparison logic now treats ``file://localhost/`` and
``file:///`` as equivalent to conform to RFC 8089. (`10162 &lt;https://github.com/pypa/pip/issues/10162&gt;`_)
- Prefer credentials from the URL over the previously-obtained credentials from URLs of the same domain, so it is possible to use different credentials on the same index server for different ``--extra-index-url`` options. (`3931 &lt;https://github.com/pypa/pip/issues/3931&gt;`_)
- Fix extraction of files with utf-8 encoded paths from tars. (`7667 &lt;https://github.com/pypa/pip/issues/7667&gt;`_)
- Skip distutils configuration parsing on encoding errors. (`8931 &lt;https://github.com/pypa/pip/issues/8931&gt;`_)
- New resolver: Detect an unnamed requirement is user-specified (by building its
metadata for the project name) so it can be correctly ordered in the resolver. (`9204 &lt;https://github.com/pypa/pip/issues/9204&gt;`_)
- Fix :ref:`pip freeze` to output packages :ref:`installed from git &lt;vcs support&gt;`
in the correct ``git+protocol://git.example.com/MyProjectegg=MyProject`` format
rather than the old and no longer supported ``git+git`` format. (`9822 &lt;https://github.com/pypa/pip/issues/9822&gt;`_)
- Fix warnings about install scheme selection for Python framework builds
distributed by Apple&#39;s Command Line Tools. (`9844 &lt;https://github.com/pypa/pip/issues/9844&gt;`_)
- Relax interpreter detection to quelch a location mismatch warning where PyPy
is deliberately breaking backwards compatibility. (`9845 &lt;https://github.com/pypa/pip/issues/9845&gt;`_)

Vendored Libraries
------------------

- Upgrade certifi to 2021.05.30.
- Upgrade idna to 3.2.
- Upgrade packaging to 21.0
- Upgrade requests to 2.26.0.
- Upgrade resolvelib to 0.7.1.
- Upgrade urllib3 to 1.26.6.

21.1.3

===================

Bug Fixes
---------

- Remove unused optional ``tornado`` import in vendored ``tenacity`` to prevent old versions of Tornado from breaking pip. (`10020 &lt;https://github.com/pypa/pip/issues/10020&gt;`_)
- Require ``setup.cfg``-only projects to be built via PEP 517, by requiring an explicit dependency on setuptools declared in pyproject.toml. (`10031 &lt;https://github.com/pypa/pip/issues/10031&gt;`_)

21.1.2

===================

Bug Fixes
---------

- New resolver: Correctly exclude an already installed package if its version is
known to be incompatible to stop the dependency resolution process with a clear
error message. (`9841 &lt;https://github.com/pypa/pip/issues/9841&gt;`_)
- Allow ZIP to archive files with timestamps earlier than 1980. (`9910 &lt;https://github.com/pypa/pip/issues/9910&gt;`_)
- Emit clearer error message when a project root does not contain either
``pyproject.toml``, ``setup.py`` or ``setup.cfg``. (`9944 &lt;https://github.com/pypa/pip/issues/9944&gt;`_)
- Fix detection of existing standalone pip instance for PEP 517 builds. (`9953 &lt;https://github.com/pypa/pip/issues/9953&gt;`_)

21.1.1

===================

Deprecations and Removals
-------------------------

- Temporarily set the new &quot;Value for ... does not match&quot; location warnings level
to *DEBUG*, to hide them from casual users. This prepares pip 21.1 for CPython
inclusion, while pip maintainers digest the first intake of location mismatch
issues for the ``distutils``-``sysconfig`` transition. (`9912 &lt;https://github.com/pypa/pip/issues/9912&gt;`_)

Bug Fixes
---------

- This change fixes a bug on Python &lt;=3.6.1 with a Typing feature added in 3.6.2 (`9831 &lt;https://github.com/pypa/pip/issues/9831&gt;`_)
- Fix compatibility between distutils and sysconfig when the project name is unknown outside of a virtual environment. (`9838 &lt;https://github.com/pypa/pip/issues/9838&gt;`_)
- Fix Python 3.6 compatibility when a PEP 517 build requirement itself needs to be
built in an isolated environment. (`9878 &lt;https://github.com/pypa/pip/issues/9878&gt;`_)

21.1

=================

Process
-------

- Start installation scheme migration from ``distutils`` to ``sysconfig``. A
warning is implemented to detect differences between the two implementations to
encourage user reports, so we can avoid breakages before they happen.

Features
--------

- Add the ability for the new resolver to process URL constraints. (`8253 &lt;https://github.com/pypa/pip/issues/8253&gt;`_)
- Add a feature ``--use-feature=in-tree-build`` to build local projects in-place
when installing. This is expected to become the default behavior in pip 21.3;
see `Installing from local packages &lt;https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages&gt;`_
for more information. (`9091 &lt;https://github.com/pypa/pip/issues/9091&gt;`_)
- Bring back the &quot;(from versions: ...)&quot; message, that was shown on resolution failures. (`9139 &lt;https://github.com/pypa/pip/issues/9139&gt;`_)
- Add support for editable installs for project with only setup.cfg files. (`9547 &lt;https://github.com/pypa/pip/issues/9547&gt;`_)
- Improve performance when picking the best file from indexes during ``pip install``. (`9748 &lt;https://github.com/pypa/pip/issues/9748&gt;`_)
- Warn instead of erroring out when doing a PEP 517 build in presence of
``--build-option``. Warn when doing a PEP 517 build in presence of
``--global-option``. (`9774 &lt;https://github.com/pypa/pip/issues/9774&gt;`_)

Bug Fixes
---------

- Fixed ``--target`` to work with ``--editable`` installs. (`4390 &lt;https://github.com/pypa/pip/issues/4390&gt;`_)
- Add a warning, discouraging the usage of pip as root, outside a virtual environment. (`6409 &lt;https://github.com/pypa/pip/issues/6409&gt;`_)
- Ignore ``.dist-info`` directories if the stem is not a valid Python distribution
name, so they don&#39;t show up in e.g. ``pip freeze``. (`7269 &lt;https://github.com/pypa/pip/issues/7269&gt;`_)
- Only query the keyring for URLs that actually trigger error 401.
This prevents an unnecessary keyring unlock prompt on every pip install
invocation (even with default index URL which is not password protected). (`8090 &lt;https://github.com/pypa/pip/issues/8090&gt;`_)
- Prevent packages already-installed alongside with pip to be injected into an
isolated build environment during build-time dependency population. (`8214 &lt;https://github.com/pypa/pip/issues/8214&gt;`_)
- Fix ``pip freeze`` permission denied error in order to display an understandable error message and offer solutions. (`8418 &lt;https://github.com/pypa/pip/issues/8418&gt;`_)
- Correctly uninstall script files (from setuptools&#39; ``scripts`` argument), when installed with ``--user``. (`8733 &lt;https://github.com/pypa/pip/issues/8733&gt;`_)
- New resolver: When a requirement is requested both via a direct URL
(``req  URL``) and via version specifier with extras (``req[extra]``), the
resolver will now be able to use the URL to correctly resolve the requirement
with extras. (`8785 &lt;https://github.com/pypa/pip/issues/8785&gt;`_)
- New resolver: Show relevant entries from user-supplied constraint files in the
error message to improve debuggability. (`9300 &lt;https://github.com/pypa/pip/issues/9300&gt;`_)
- Avoid parsing version to make the version check more robust against lousily
debundled downstream distributions. (`9348 &lt;https://github.com/pypa/pip/issues/9348&gt;`_)
- ``--user`` is no longer suggested incorrectly when pip fails with a permission
error in a virtual environment. (`9409 &lt;https://github.com/pypa/pip/issues/9409&gt;`_)
- Fix incorrect reporting on ``Requires-Python`` conflicts. (`9541 &lt;https://github.com/pypa/pip/issues/9541&gt;`_)
- Make wheel compatibility tag preferences more important than the build tag (`9565 &lt;https://github.com/pypa/pip/issues/9565&gt;`_)
- Fix pip to work with warnings converted to errors. (`9779 &lt;https://github.com/pypa/pip/issues/9779&gt;`_)
- **SECURITY**: Stop splitting on unicode separators in git references,
which could be maliciously used to install a different revision on the
repository. (`9827 &lt;https://github.com/pypa/pip/issues/9827&gt;`_)

Vendored Libraries
------------------

- Update urllib3 to 1.26.4 to fix CVE-2021-28363
- Remove contextlib2.
- Upgrade idna to 3.1
- Upgrade pep517 to 0.10.0
- Upgrade vendored resolvelib to 0.7.0.
- Upgrade tenacity to 7.0.0

Improved Documentation
----------------------

- Update &quot;setuptools extras&quot; link to match upstream. (`4822829F-6A45-4202-87BA-A80482DF6D4E &lt;https://github.com/pypa/pip/issues/4822829F-6A45-4202-87BA-A80482DF6D4E&gt;`_)
- Improve SSL Certificate Verification docs and ``--cert`` help text. (`6720 &lt;https://github.com/pypa/pip/issues/6720&gt;`_)
- Add a section in the documentation to suggest solutions to the ``pip freeze`` permission denied issue. (`8418 &lt;https://github.com/pypa/pip/issues/8418&gt;`_)
- Add warning about ``--extra-index-url`` and dependency confusion (`9647 &lt;https://github.com/pypa/pip/issues/9647&gt;`_)
- Describe ``--upgrade-strategy`` and direct requirements explicitly; add a brief
example. (`9692 &lt;https://github.com/pypa/pip/issues/9692&gt;`_)

</details>

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/pip
  • Changelog: https://pyup.io/changelogs/pip/
  • Homepage: https://pip.pypa.io/ </details>
+1 -1

0 comment

1 changed file

pyup-bot

pr closed time in 12 days

delete branch purplediane/shortbread

delete branch : pyup-update-flake8-3.8.4-to-4.0.1

delete time in 12 days

push eventpurplediane/shortbread

pyup-bot

commit sha cb6e30152045d321758d2b1ec4c9e0e375d0af01

Update flake8 from 3.8.4 to 4.0.1

view details

Diane DeMers Chen

commit sha 77b7f935fe8747bc97f8bd0113a99bef2630daa1

Merge branch 'master' into pyup-update-flake8-3.8.4-to-4.0.1

view details

Diane DeMers Chen

commit sha 3b861729084b192f1904ff615d182165eda12db0

Merge pull request #334 from purplediane/pyup-update-flake8-3.8.4-to-4.0.1 Update flake8 to 4.0.1

view details

push time in 12 days

more