Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.7 support and update dependencies #186

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Changes from 1 commit
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
Next Next commit
drop py37 support
bmw committed Sep 17, 2024
commit 597c482fee8f625628e77e807cbd262b5a60b59e
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ Changelog

1.15.0 (master)
---------------
* Dropped support for Python 3.7.

1.14.0 (2023-11-01)
-------------------
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -63,9 +63,9 @@
# built documents.
#
# The short X.Y version.
version = u'1.15'
version = "1.15"
# The full version, including alpha/beta/rc tags.
release = u'1.15.0.dev0'
release = "1.15.0.dev0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
69 changes: 2 additions & 67 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
@@ -38,7 +37,7 @@ include = [
[tool.poetry.dependencies]
# This should be kept in sync with the value of target-version in our
# configuration for black below.
python = "^3.7"
python = "^3.8"
# load_pem_private/public_key (>=0.6)
# rsa_recover_prime_factors (>=0.8)
# add sign() and verify() to asymetric keys (RSA >=1.4, ECDSA >=1.5)
@@ -95,10 +94,8 @@ disallow_untyped_defs = true
# Pytest tooling configuration

[tool.pytest.ini_options]
# We also ignore our own deprecation warning about dropping Python 3.7 support.
filterwarnings = [
"error",
"ignore:Python 3.7 support will be dropped:DeprecationWarning",
"ignore:CSR support in pyOpenSSL is deprecated:DeprecationWarning",
]
norecursedirs = "*.egg .eggs dist build docs .tox"
9 changes: 0 additions & 9 deletions src/josepy/__init__.py
Original file line number Diff line number Diff line change
@@ -25,8 +25,6 @@
.. _ACME: https://pypi.python.org/pypi/acme

"""
import sys
import warnings

# flake8: noqa
from josepy.b64 import b64decode, b64encode
@@ -75,10 +73,3 @@
ComparableX509,
ImmutableMap,
)

if sys.version_info[:2] == (3, 7):
warnings.warn(
"Python 3.7 support will be dropped in the next scheduled release of "
"josepy. Please upgrade your Python version.",
DeprecationWarning,
)
25 changes: 0 additions & 25 deletions tests/init_test.py

This file was deleted.