forked from pool/python-josepy
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 921f2778a2 | |||
| f951d0b560 | |||
| 212e63d8ea | |||
| 22fa795df7 | |||
| 826586ede4 | |||
| 0fd6fab6f7 | |||
| 17865cd804 | |||
| 93367f9ce4 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:308b3bf9ce825ad4d4bba76372cf19b5dc1c2ce96a9d298f9642975e64bd13dd
|
|
||||||
size 58794
|
|
||||||
3
josepy-2.2.0.tar.gz
Normal file
3
josepy-2.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:74c033151337c854f83efe5305a291686cef723b4b970c43cfe7270cf4a677a9
|
||||||
|
size 56500
|
||||||
@@ -1,3 +1,45 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 6 00:12:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.2.0:
|
||||||
|
* Added support for Python 3.14.
|
||||||
|
* Dropped support for Python 3.9.0 and 3.9.1 for compatibility with newer
|
||||||
|
versions of the cryptography Python package. Python 3.9.2+ is still
|
||||||
|
supported.
|
||||||
|
- Clean up {Build,}Requires.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 17 18:07:11 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.0.0
|
||||||
|
* Breaking Change: PyOpenSSL has been fully removed. - Dropped objects:
|
||||||
|
- josepy.util.ComparableX509
|
||||||
|
- Functions now expect cryptography.x509 objects: josepy.json_util.encode_cert josepy.json_util.encode_csr josepy.jws.Header.x5c.encoder
|
||||||
|
- Functions now return cryptography.x509 objects: josepy.json_util.decode_cert josepy.json_util.decode_csr josepy.jws.Header.x5c.decoder
|
||||||
|
* Dropped support for Python 3.8.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 08:59:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.15.0
|
||||||
|
* Added a deprecation warning about future backwards incompatible changes. The
|
||||||
|
text of that warning is "The next major version of josepy will remove
|
||||||
|
josepy.util.ComparableX509 and all uses of it as part of removing our
|
||||||
|
dependency on PyOpenSSL. This includes modifying any functions with
|
||||||
|
ComparableX509 parameters or return values. This will be a breaking change.
|
||||||
|
To avoid breakage, we recommend pinning josepy < 2.0.0 until josepy 2.0.0 is
|
||||||
|
out and you've had time to update your code."
|
||||||
|
* Added support for Python 3.13.
|
||||||
|
* Dropped support for Python 3.7.
|
||||||
|
* Support for Python 3.8 has been deprecated and will be removed in the next
|
||||||
|
scheduled release.
|
||||||
|
- Drop ignore-pyopenssl-warnings.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 22:01:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add ignore-pyopenssl-warnings.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 29 09:34:59 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Wed Nov 29 09:34:59 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
@@ -23,7 +65,7 @@ Thu Apr 7 07:20:14 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
|||||||
* PGP keys used to sign the packages we upload to PyPI changed.
|
* PGP keys used to sign the packages we upload to PyPI changed.
|
||||||
(python-josepy.keyring refreshed)
|
(python-josepy.keyring refreshed)
|
||||||
* Dropped support for cryptography<1.5.
|
* Dropped support for cryptography<1.5.
|
||||||
* Support for Python 3.6 has been deprecated and will be removed
|
* Support for Python 3.6 has been deprecated and will be removed
|
||||||
in the next scheduled release.
|
in the next scheduled release.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -34,7 +76,7 @@ Tue Oct 5 19:12:28 UTC 2021 - ecsos <ecsos@opensuse.org>
|
|||||||
types from the inline types annotations when josepy is
|
types from the inline types annotations when josepy is
|
||||||
installed as a dependency in a Python project.
|
installed as a dependency in a Python project.
|
||||||
* Added a field function to assist in adding type annotations for
|
* Added a field function to assist in adding type annotations for
|
||||||
Fields in classes. If the field function is used to define a
|
Fields in classes. If the field function is used to define a
|
||||||
Field in a JSONObjectWithFields based class without a type
|
Field in a JSONObjectWithFields based class without a type
|
||||||
annotation, an error will be raised.
|
annotation, an error will be raised.
|
||||||
* josepy's tests can no longer be imported under the name josepy,
|
* josepy's tests can no longer be imported under the name josepy,
|
||||||
@@ -104,8 +146,8 @@ Thu May 3 09:57:33 UTC 2018 - ecsos@opensuse.org
|
|||||||
|
|
||||||
- update to 1.1.0
|
- update to 1.1.0
|
||||||
- Deprecated support for Python 2.6 and 3.3.
|
- Deprecated support for Python 2.6 and 3.3.
|
||||||
- Use the sign and verify methods when they are available in
|
- Use the sign and verify methods when they are available in
|
||||||
cryptography instead of the deprecated methods signer and
|
cryptography instead of the deprecated methods signer and
|
||||||
verifier.
|
verifier.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-josepy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,27 +19,22 @@
|
|||||||
%define libname josepy
|
%define libname josepy
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-%{libname}
|
Name: python-%{libname}
|
||||||
Version: 1.14.0
|
Version: 2.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: JOSE protocol implementation in Python
|
Summary: JOSE protocol implementation in Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/certbot/josepy
|
URL: https://github.com/certbot/josepy
|
||||||
Source0: https://files.pythonhosted.org/packages/source/j/%{libname}/%{libname}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/j/%{libname}/%{libname}-%{version}.tar.gz
|
||||||
#Source1: https://files.pythonhosted.org/packages/source/j/%%{libname}/%%{libname}-%%{version}.tar.gz.asc
|
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module coverage >= 4.0}
|
BuildRequires: %{python_module coverage >= 4.0}
|
||||||
BuildRequires: %{python_module cryptography >= 1.5}
|
BuildRequires: %{python_module cryptography >= 1.5}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry >= 1.0.8}
|
BuildRequires: %{python_module poetry-core >= 2.0.0}
|
||||||
BuildRequires: %{python_module pyOpenSSL >= 0.13}
|
|
||||||
BuildRequires: %{python_module pytest >= 2.8.0}
|
BuildRequires: %{python_module pytest >= 2.8.0}
|
||||||
BuildRequires: %{python_module setuptools >= 1.0}
|
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cryptography >= 1.5
|
Requires: python-cryptography >= 1.5
|
||||||
Requires: python-pyOpenSSL >= 0.13
|
|
||||||
Conflicts: python-acme < 0.21.0
|
Conflicts: python-acme < 0.21.0
|
||||||
Obsoletes: python-%{libname}-doc
|
Obsoletes: python-%{libname}-doc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -50,7 +45,7 @@ JOSE protocol implementation in Python using cryptography.
|
|||||||
It is used by the certbot project. Formerly Let's Encrypt project.
|
It is used by the certbot project. Formerly Let's Encrypt project.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{libname}-%{version}
|
%autosetup -p1 -n %{libname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -76,7 +71,6 @@ It is used by the certbot project. Formerly Let's Encrypt project.
|
|||||||
%doc CHANGELOG.rst CONTRIBUTING.md
|
%doc CHANGELOG.rst CONTRIBUTING.md
|
||||||
%{python_sitelib}/%{libname}
|
%{python_sitelib}/%{libname}
|
||||||
%{python_sitelib}/%{libname}-%{version}.dist-info
|
%{python_sitelib}/%{libname}-%{version}.dist-info
|
||||||
%pycache_only %{python_sitelib}/%{libname}/__pycache__
|
|
||||||
# following the certbot-packaging guide, "jws" should not be packaged
|
# following the certbot-packaging guide, "jws" should not be packaged
|
||||||
%exclude %{_bindir}/jws
|
%exclude %{_bindir}/jws
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user