Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- {VERSION: "3.9", TOXENV: "py39"}
- {VERSION: "pypy2", TOXENV: "pypy"}
- {VERSION: "pypy3", TOXENV: "pypy3"}
# -cryptographyMaster
- {VERSION: "3.6", TOXENV: "py36-cryptographyMaster"}
- {VERSION: "3.7", TOXENV: "py37-cryptographyMaster"}
- {VERSION: "3.8", TOXENV: "py38-cryptographyMaster"}
- {VERSION: "3.9", TOXENV: "py39-cryptographyMaster"}
- {VERSION: "pypy3", TOXENV: "pypy3-cryptographyMaster"}
# -cryptographyMain
- {VERSION: "3.6", TOXENV: "py36-cryptographyMain"}
- {VERSION: "3.7", TOXENV: "py37-cryptographyMain"}
- {VERSION: "3.8", TOXENV: "py38-cryptographyMain"}
- {VERSION: "3.9", TOXENV: "py39-cryptographyMain"}
- {VERSION: "pypy3", TOXENV: "pypy3-cryptographyMain"}
# -cryptographyMinimum
- {VERSION: "2.7", TOXENV: "py27-cryptographyMinimum"}
- {VERSION: "3.6", TOXENV: "py36-cryptographyMinimum"}
Expand All @@ -35,12 +35,12 @@ jobs:
- {VERSION: "2.7", TOXENV: "py27-randomorder"}
- {VERSION: "3.9", TOXENV: "py39-randomorder"}
# Downstreams
- {VERSION: "3.7", TOXENV: "py37-twistedMaster"}
- {VERSION: "3.7", TOXENV: "py37-twistedTrunk"}
# Meta
- {VERSION: "2.7", TOXENV: "check-manifest"}
- {VERSION: "2.7", TOXENV: "pypi-readme"}
- {VERSION: "3.9", TOXENV: "check-manifest"}
- {VERSION: "3.9", TOXENV: "pypi-readme"}
- {VERSION: "3.9", TOXENV: "flake8"}
- {VERSION: "2.7", TOXENV: "docs"}
- {VERSION: "3.9", TOXENV: "docs"}
name: "${{ matrix.PYTHON.TOXENV }}"
steps:
- uses: actions/checkout@v2.3.4
Expand All @@ -63,10 +63,9 @@ jobs:
strategy:
matrix:
TEST:
- {CONTAINER: "stretch", TOXENV: "py27"}
- {CONTAINER: "ubuntu-bionic", TOXENV: "py36"}
# cryptographyMaster used since there's no wheel
- {CONTAINER: "ubuntu-rolling", TOXENV: "py39-cryptographyMaster"}
# cryptographyMain used since there's no wheel
- {CONTAINER: "ubuntu-rolling", TOXENV: "py39-cryptographyMain"}
name: "${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}"
steps:
- uses: actions/checkout@v2.3.4
Expand Down
2 changes: 2 additions & 0 deletions doc/api/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Context, Connection.


.. autoclass:: Context
:noindex:

.. autoclass:: Session

Expand All @@ -160,6 +161,7 @@ Context, Connection.


.. py:class:: Connection(context, socket)
:noindex:

A class representing SSL connections.

Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {pypy,pypy3,py27,py36,py37,py38,py39}{,-cryptographyMaster,-cryptographyMinimum}{,-randomorder},py37-twistedMaster,pypi-readme,check-manifest,flake8,docs,coverage-report
envlist = {pypy,pypy3,py27,py36,py37,py38,py39}{,-cryptographyMain,-cryptographyMinimum}{,-randomorder},py37-twistedTrunk,pypi-readme,check-manifest,flake8,docs,coverage-report

[testenv]
whitelist_externals =
Expand All @@ -9,7 +9,7 @@ extras =
test
deps =
coverage>=4.2
cryptographyMaster: git+https://github.com/pyca/cryptography.git
cryptographyMain: git+https://github.com/pyca/cryptography.git
cryptographyMinimum: cryptography==3.3
Comment thread
njsmith marked this conversation as resolved.
randomorder: pytest-randomly
setenv =
Expand All @@ -22,7 +22,7 @@ commands =
coverage run --parallel -m OpenSSL.debug
coverage run --parallel -m pytest -v {posargs}

[testenv:py37-twistedMaster]
[testenv:py37-twistedTrunk]
deps =
Twisted[all_non_platform] @ git+https://github.com/twisted/twisted
setenv =
Expand Down Expand Up @@ -59,9 +59,8 @@ commands =
[testenv:docs]
extras =
docs
basepython = python2.7
commands =
sphinx-build -W -b html doc doc/_build/html
sphinx-build -W -b html doc doc/_build/html {posargs}

[testenv:coverage-report]
deps = coverage>=4.2
Expand Down