Skip to content

Commit 91d670f

Browse files
authored
Misc CI cleanups (#1045)
* Misc CI cleanups - Update branch names to match upstream - Drop py2 testing * Appease stricter checking in latest Sphinx to get CI passing again * Don't accidentally delete an important line from tox.ini * Give py2 support a brief stay of execution As requested by @reaperhulk on IRC
1 parent 7c619df commit 91d670f

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
- {VERSION: "3.9", TOXENV: "py39"}
1818
- {VERSION: "pypy2", TOXENV: "pypy"}
1919
- {VERSION: "pypy3", TOXENV: "pypy3"}
20-
# -cryptographyMaster
21-
- {VERSION: "3.6", TOXENV: "py36-cryptographyMaster"}
22-
- {VERSION: "3.7", TOXENV: "py37-cryptographyMaster"}
23-
- {VERSION: "3.8", TOXENV: "py38-cryptographyMaster"}
24-
- {VERSION: "3.9", TOXENV: "py39-cryptographyMaster"}
25-
- {VERSION: "pypy3", TOXENV: "pypy3-cryptographyMaster"}
20+
# -cryptographyMain
21+
- {VERSION: "3.6", TOXENV: "py36-cryptographyMain"}
22+
- {VERSION: "3.7", TOXENV: "py37-cryptographyMain"}
23+
- {VERSION: "3.8", TOXENV: "py38-cryptographyMain"}
24+
- {VERSION: "3.9", TOXENV: "py39-cryptographyMain"}
25+
- {VERSION: "pypy3", TOXENV: "pypy3-cryptographyMain"}
2626
# -cryptographyMinimum
2727
- {VERSION: "2.7", TOXENV: "py27-cryptographyMinimum"}
2828
- {VERSION: "3.6", TOXENV: "py36-cryptographyMinimum"}
@@ -35,12 +35,12 @@ jobs:
3535
- {VERSION: "2.7", TOXENV: "py27-randomorder"}
3636
- {VERSION: "3.9", TOXENV: "py39-randomorder"}
3737
# Downstreams
38-
- {VERSION: "3.7", TOXENV: "py37-twistedMaster"}
38+
- {VERSION: "3.7", TOXENV: "py37-twistedTrunk"}
3939
# Meta
40-
- {VERSION: "2.7", TOXENV: "check-manifest"}
41-
- {VERSION: "2.7", TOXENV: "pypi-readme"}
40+
- {VERSION: "3.9", TOXENV: "check-manifest"}
41+
- {VERSION: "3.9", TOXENV: "pypi-readme"}
4242
- {VERSION: "3.9", TOXENV: "flake8"}
43-
- {VERSION: "2.7", TOXENV: "docs"}
43+
- {VERSION: "3.9", TOXENV: "docs"}
4444
name: "${{ matrix.PYTHON.TOXENV }}"
4545
steps:
4646
- uses: actions/[email protected]
@@ -63,10 +63,9 @@ jobs:
6363
strategy:
6464
matrix:
6565
TEST:
66-
- {CONTAINER: "stretch", TOXENV: "py27"}
6766
- {CONTAINER: "ubuntu-bionic", TOXENV: "py36"}
68-
# cryptographyMaster used since there's no wheel
69-
- {CONTAINER: "ubuntu-rolling", TOXENV: "py39-cryptographyMaster"}
67+
# cryptographyMain used since there's no wheel
68+
- {CONTAINER: "ubuntu-rolling", TOXENV: "py39-cryptographyMain"}
7069
name: "${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}"
7170
steps:
7271
- uses: actions/[email protected]

doc/api/ssl.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Context, Connection.
150150

151151

152152
.. autoclass:: Context
153+
:noindex:
153154

154155
.. autoclass:: Session
155156

@@ -160,6 +161,7 @@ Context, Connection.
160161

161162

162163
.. py:class:: Connection(context, socket)
164+
:noindex:
163165

164166
A class representing SSL connections.
165167

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {pypy,pypy3,py27,py36,py37,py38,py39}{,-cryptographyMaster,-cryptographyMinimum}{,-randomorder},py37-twistedMaster,pypi-readme,check-manifest,flake8,docs,coverage-report
2+
envlist = {pypy,pypy3,py27,py36,py37,py38,py39}{,-cryptographyMain,-cryptographyMinimum}{,-randomorder},py37-twistedTrunk,pypi-readme,check-manifest,flake8,docs,coverage-report
33

44
[testenv]
55
whitelist_externals =
@@ -9,7 +9,7 @@ extras =
99
test
1010
deps =
1111
coverage>=4.2
12-
cryptographyMaster: git+https://github.com/pyca/cryptography.git
12+
cryptographyMain: git+https://github.com/pyca/cryptography.git
1313
cryptographyMinimum: cryptography==3.3
1414
randomorder: pytest-randomly
1515
setenv =
@@ -22,7 +22,7 @@ commands =
2222
coverage run --parallel -m OpenSSL.debug
2323
coverage run --parallel -m pytest -v {posargs}
2424

25-
[testenv:py37-twistedMaster]
25+
[testenv:py37-twistedTrunk]
2626
deps =
2727
Twisted[all_non_platform] @ git+https://github.com/twisted/twisted
2828
setenv =
@@ -59,9 +59,8 @@ commands =
5959
[testenv:docs]
6060
extras =
6161
docs
62-
basepython = python2.7
6362
commands =
64-
sphinx-build -W -b html doc doc/_build/html
63+
sphinx-build -W -b html doc doc/_build/html {posargs}
6564

6665
[testenv:coverage-report]
6766
deps = coverage>=4.2

0 commit comments

Comments
 (0)