Pin it in the tox configuration

Because why should setup.py matter?
This commit is contained in:
Jean-Paul Calderone 2021-03-01 12:49:20 -05:00
parent 386784110f
commit e0339b448d
3 changed files with 16 additions and 16 deletions

View File

@ -89,19 +89,19 @@ workflows:
- "typechecks": - "typechecks":
<<: *DOCKERHUB_CONTEXT <<: *DOCKERHUB_CONTEXT
# images: images:
# # Build the Docker images used by the ci jobs. This makes the ci jobs # Build the Docker images used by the ci jobs. This makes the ci jobs
# # faster and takes various spurious failures out of the critical path. # faster and takes various spurious failures out of the critical path.
# triggers: triggers:
# # Build once a day # Build once a day
# - schedule: - schedule:
# cron: "0 0 * * *" cron: "0 0 * * *"
# filters: filters:
# branches: branches:
# only: only:
# - "master" - "master"
# jobs: jobs:
- "build-image-debian-10": - "build-image-debian-10":
<<: *DOCKERHUB_CONTEXT <<: *DOCKERHUB_CONTEXT
- "build-image-debian-9": - "build-image-debian-9":

View File

@ -96,10 +96,7 @@ install_requires = [
# an sftp extra in Tahoe-LAFS, there is no point in having one. # an sftp extra in Tahoe-LAFS, there is no point in having one.
# * Twisted 19.10 introduces Site.getContentFile which we use to get # * Twisted 19.10 introduces Site.getContentFile which we use to get
# temporary upload files placed into a per-node temporary directory. # temporary upload files placed into a per-node temporary directory.
# "Twisted[tls,conch] >= 19.10.0",
# * Twisted 21.2.0 introduces some type hints which we are not yet
# compatible with.
"Twisted[tls,conch] >= 19.10.0, <21.2.0",
"PyYAML >= 3.11", "PyYAML >= 3.11",

View File

@ -120,6 +120,9 @@ deps =
mypy mypy
git+https://github.com/Shoobx/mypy-zope git+https://github.com/Shoobx/mypy-zope
git+https://github.com/warner/foolscap git+https://github.com/warner/foolscap
# Twisted 21.2.0 introduces some type hints which we are not yet
# compatible with.
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3622
twisted<21.2.0 twisted<21.2.0
commands = mypy src commands = mypy src