-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into hyperlink-url-212
- Loading branch information
Showing
22 changed files
with
192 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
========= | ||
Changelog | ||
========= | ||
|
||
.. currentmodule:: treq | ||
|
||
.. default-role:: any | ||
|
||
.. towncrier release notes start | ||
20.3.0 (2020-03-15) | ||
=================== | ||
|
||
Features | ||
-------- | ||
|
||
- Python 3.7 support. (`#228 <https://github.com/twisted/treq/issues/228>`__) | ||
|
||
|
||
Bugfixes | ||
-------- | ||
|
||
- `treq.testing.RequestTraversalAgent` now passes its memory reactor to the `twisted.web.server.Site` it creates, preventing the ``Site`` from polluting the global reactor. (`#225 <https://github.com/twisted/treq/issues/225>`__) | ||
- `treq.testing` no longer generates deprecation warnings about ``twisted.test.proto_helpers.MemoryReactor``. (`#253 <https://github.com/twisted/treq/issues/253>`__) | ||
|
||
|
||
Improved Documentation | ||
---------------------- | ||
|
||
- The ``download_file.py`` example has been updated to do a streaming download with *unbuffered=True*. (`#233 <https://github.com/twisted/treq/issues/233>`__) | ||
- The *agent* parameter to `treq.request()` has been documented. (`#235 <https://github.com/twisted/treq/issues/235>`__) | ||
- The type of the *headers* element of a response tuple passed to `treq.testing.RequestSequence` is now correctly documented as `str`. (`#237 <https://github.com/twisted/treq/issues/237>`__) | ||
|
||
|
||
Deprecations and Removals | ||
------------------------- | ||
|
||
- Drop support for Python 3.4. (`#240 <https://github.com/twisted/treq/issues/240>`__) | ||
|
||
|
||
Misc | ||
---- | ||
|
||
- `#247 <https://github.com/twisted/treq/issues/247>`__, `#248 <https://github.com/twisted/treq/issues/248>`__, `#249 <https://github.com/twisted/treq/issues/249>`__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Developing | ||
========== | ||
|
||
Install dependencies: | ||
|
||
:: | ||
|
||
pip install treq[dev] | ||
|
||
Run Tests (unit & integration): | ||
|
||
:: | ||
|
||
trial treq | ||
|
||
Lint: | ||
|
||
:: | ||
|
||
pep8 treq | ||
pyflakes treq | ||
|
||
Build docs:: | ||
|
||
tox -e docs | ||
|
||
Release notes | ||
------------- | ||
|
||
We use `towncrier`_ to manage our release notes. | ||
Basically, every pull request that has a user visible effect should add a short file to the `changelog.d/ <./changelog.d>`_ directory describing the change, | ||
with a name like <ISSUE NUMBER>.<TYPE>.rst. | ||
See `changelog.d/README.rst <changelog.d/README.rst>`_ for details. | ||
This way we can keep a good list of changes as we go, | ||
which makes the release manager happy, | ||
which means we get more frequent releases, | ||
which means your change gets into users’ hands faster. | ||
|
||
.. _towncrier: https://pypi.org/project/towncrier/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
include README.rst LICENSE tox.ini tox2travis.py .coveragerc | ||
include pyproject.toml | ||
include *.rst | ||
include LICENSE | ||
include .coveragerc | ||
recursive-include docs * | ||
prune docs/_build | ||
prune docs/html | ||
|
||
exclude tox.ini | ||
exclude tox2travis.py | ||
exclude .travis.yml | ||
exclude .readthedocs.yml | ||
|
||
# This directory will be empty at release time. | ||
prune changelog.d | ||
|
||
global-exclude .DS_Store *.pyc *.pyo __pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
This directory collects "newsfragments": short files that each contain | ||
a snippet of ReST-formatted text that will be added to the next | ||
release notes. This should be a description of aspects of the change | ||
(if any) that are relevant to users. (This contrasts with your commit | ||
message and PR description, which are a description of the change as | ||
relevant to people working on the code itself.) | ||
|
||
Each file should be named like ``<ISSUE>.<TYPE>.rst``, where | ||
``<ISSUE>`` is an issue numbers, and ``<TYPE>`` is one of: | ||
|
||
* ``feature`` | ||
* ``bugfix`` | ||
* ``doc`` | ||
* ``removal`` | ||
* ``misc`` | ||
|
||
So for example: ``123.feature.rst``, ``456.bugfix.rst`` | ||
|
||
If your PR fixes an issue, use that number here. If there is no issue, | ||
then after you submit the PR and get the PR number you can add a | ||
newsfragment using that instead. | ||
|
||
Note that the ``towncrier`` tool will automatically | ||
reflow your text, so don't try to do any fancy formatting. You can | ||
install ``towncrier`` and then run ``towncrier --draft`` if you want | ||
to get a preview of how your change will look in the final release | ||
notes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. include:: ../CHANGELOG.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.