Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 2 additions & 2 deletions poetry.lock

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

44 changes: 22 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
# PEP-517 build

[build-system]
requires = ["poetry_core>=1.0.8"]
requires = ["poetry_core>=2.2.0"]
build-backend = "poetry.core.masonry.api"

# Poetry tooling configuration

[tool.poetry]
[project]
name = "josepy"
version = "2.2.0.dev0"
license = "Apache-2.0"
license-files = ["LICENSE.txt"]
description = "JOSE protocol implementation in Python"
license = "Apache License 2.0"
readme = "README.rst"
authors = [{ name = "Certbot Project", email = "[email protected]" }]
# python 3.9.2 is used as a lower bound here because newer versions of
# cryptography dropped support for python 3.9.0 and 3.9.1. see
# https://github.com/pyca/cryptography/pull/12045. when we drop support for
# python 3.9 altogether, this line can be changed to the simpler 'python = "^3.10"'.
# Update 'tool.poetry.dependencies' as well when changing it!
requires-python = ">=3.9.2"
dynamic = ["classifiers", "dependencies"]

[project.urls]
Homepage = "https://github.com/certbot/josepy"

# Poetry tooling configuration
[tool.poetry]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
# Version specific classifiers are added automatically based on requires-python.
# Except for 3.9 since the lower bound is 3.9.2 currently.
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
]
homepage = "https://github.com/certbot/josepy"
authors = ["Certbot Project <[email protected]>"]
readme = "README.rst"
include = [
"CHANGELOG.rst",
"CONTRIBUTING.md",
Expand All @@ -39,10 +46,7 @@ include = [
# This should be kept in sync with the value of target-version in our
# configuration for black below.
#
# python 3.9.2 is used as a lower bound here because newer versions of
# cryptography dropped support for python 3.9.0 and 3.9.1. see
# https://github.com/pyca/cryptography/pull/12045. when we drop support for
# python 3.9 altogether, this line can be changed to the simpler 'python = "^3.10"'.
# Update project.requires-python as well when changing it!
python = ">=3.9.2,<4.0"
# load_pem_private/public_key (>=0.6)
# rsa_recover_prime_factors (>=0.8)
Expand Down Expand Up @@ -78,10 +82,6 @@ jws = "josepy.jws:CLI.run"
# Black tooling configuration
[tool.black]
line-length = 100
# This should be kept in sync with the version of Python specified in poetry's
# dependencies above.
# TODO add 'py314' once black supports it, see #232 for details
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']

# Mypy tooling configuration

Expand Down
Loading