Skip to content

Commit

Permalink
treq isn't actually used, so stop depending on it
Browse files Browse the repository at this point in the history
This commit was sponsored by Sergio Bost, Jason Walker, Matt Campbell,
and my other patrons.  If you want to join them, you can support my
work at https://patreon.com/creatorglyph.
  • Loading branch information
glyph committed Nov 6, 2023
1 parent 72d1d45 commit cf259a2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
twisted-version: ["21.2", "22.1", "current"]
twisted-version: ["21.2", "22.1", "23.11"]
tox-prefix: ["coverage"]
optional: [false]
include:
Expand Down
5 changes: 0 additions & 5 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ ignore_missing_imports = True
[mypy-zope.interface.*]
ignore_missing_imports = True

[mypy-treq]
ignore_missing_imports = True
[mypy-treq.*]
ignore_missing_imports = True

[mypy-idna]
ignore_missing_imports = True

Expand Down
1 change: 0 additions & 1 deletion requirements/tox-tests.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
idna==3.4
treq==22.2.0
4 changes: 3 additions & 1 deletion src/dbxs/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def additionalPump(self, f: Callable[[], bool]) -> None:
Add an additional callable to be called by L{MemoryPool.pump} and
L{MemoryPool.flush}. This can be used to interleave other sources of
in-memory event completion to allow test coroutines to complete, such
as needing to call L{StubTreq.flush}.
as needing to call U{StubTreq.flush
<https://treq.readthedocs.io/en/latest/api.html#treq.testing.treq.testing.StubTreq.flush>}
in a web application.
"""
self._performers.append(f)

Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ basepython = python3.11
deps =
tw212: Twisted==21.2.0
tw221: Twisted==22.1.0
tw2311: Twisted==23.11.0
twcurrent: Twisted
twtrunk: https://github.com/twisted/twisted/tarball/trunk#egg=Twisted

Expand Down

0 comments on commit cf259a2

Please sign in to comment.