Skip to content

Commit

Permalink
ci: Update backend to 2.28.6
Browse files Browse the repository at this point in the history
Closes #96
  • Loading branch information
Synss committed Nov 11, 2023
1 parent 4297be5 commit f594cd9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
env:
BACKEND_DIR: "${{ github.workspace }}/.local"
BACKEND_VERSION: "2.28.3"
BACKEND_VERSION: "2.28.6"
steps:

- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
env:
BACKEND_DIR: "${{ github.workspace }}/.local"
BACKEND_VERSION: "2.28.3"
BACKEND_VERSION: "2.28.6"
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
pyver: [cp38, cp39, cp310, cp311]
version: [2.28.3]
version: [2.28.6]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
env:
BACKEND_DIR: "${{ github.workspace }}/.local"
BACKEND_VERSION: "2.28.3"
BACKEND_VERSION: "2.28.6"
steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[next]

* ci: Update wheels to mbedtls 2.28.6

[2.7.1] - 2023-07-15

* tls: Fix missing close notify alert.
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ https://synss.github.io/python-mbedtls/
Installation
============

The bindings are tested with mbedTLS 2.28.3 for Python 3.8,
The bindings are tested with mbedTLS 2.28.6 for Python 3.8,
3.9, 3.10, and 3.11 on Linux, macOS, and Windows.

`manylinux`_ wheels are available for 64-bit Linux systems. Install
Expand All @@ -88,8 +88,8 @@ The *mbedtls.version* module shows the run-time version
information to mbed TLS.

>>> from mbedtls import version
>>> _ = version.version # "mbed TLS 2.28.3"
>>> _ = version.version_info # (2, 28, 3)
>>> _ = version.version # "Mbed TLS 2.28.6"
>>> _ = version.version_info # (2, 28, 6)


Message digest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _get_version():


VERSION = _get_version()
MBEDTLS_VERSION = "2.28.3"
MBEDTLS_VERSION = "2.28.6"
DOWNLOAD_URL = f"https://github.com/Synss/python-mbedtls/tarball/{VERSION}"


Expand Down
4 changes: 3 additions & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ def test_version_info() -> None:

def test_version() -> None:
major, minor, micro = version.version_info
assert version.version == f"mbed TLS {major}.{minor}.{micro}"
assert (
version.version.lower() == f"Mbed TLS {major}.{minor}.{micro}".lower()
)


@pytest.mark.parametrize("feature", ["i do not exist"])
Expand Down

0 comments on commit f594cd9

Please sign in to comment.