6 Commits

Author SHA256 Message Date
b1e6f501d5 Accepting request 1271139 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1271139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-josepy?expand=0&rev=17
2025-04-22 15:28:54 +00:00
380a4e6e52 Accepting request 1270612 from home:ecsos:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1270612
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-josepy?expand=0&rev=35
2025-04-21 07:00:07 +00:00
904246d0b9 Accepting request 1243289 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-josepy?expand=0&rev=16
2025-02-05 11:42:41 +00:00
0519b6179e Accepting request 1243288 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1243288
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-josepy?expand=0&rev=33
2025-02-05 09:03:29 +00:00
22efbc561a Accepting request 1218878 from devel:languages:python
- add ignore-pyopenssl-warnings.patch

  * Support for Python 3.6 has been deprecated and will be removed
    Fields in classes. If the field function is used to define a
  - Use the sign and verify methods when they are available in
    cryptography instead of the deprecated methods signer and

OBS-URL: https://build.opensuse.org/request/show/1218878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-josepy?expand=0&rev=15
2024-10-29 13:36:30 +00:00
bc0d83c9e9 - add ignore-pyopenssl-warnings.patch
* Support for Python 3.6 has been deprecated and will be removed
    Fields in classes. If the field function is used to define a
  - Use the sign and verify methods when they are available in
    cryptography instead of the deprecated methods signer and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-josepy?expand=0&rev=31
2024-10-28 22:02:07 +00:00
4 changed files with 44 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:308b3bf9ce825ad4d4bba76372cf19b5dc1c2ce96a9d298f9642975e64bd13dd
size 58794

3
josepy-2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7d7acd2fe77435cda76092abe4950bb47b597243a8fb733088615fa6de9ec40
size 55767

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
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>
@@ -23,7 +55,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.
(python-josepy.keyring refreshed)
* 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.
-------------------------------------------------------------------
@@ -34,7 +66,7 @@ Tue Oct 5 19:12:28 UTC 2021 - ecsos <ecsos@opensuse.org>
types from the inline types annotations when josepy is
installed as a dependency in a Python project.
* 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
annotation, an error will be raised.
* josepy's tests can no longer be imported under the name josepy,
@@ -104,8 +136,8 @@ Thu May 3 09:57:33 UTC 2018 - ecsos@opensuse.org
- update to 1.1.0
- Deprecated support for Python 2.6 and 3.3.
- Use the sign and verify methods when they are available in
cryptography instead of the deprecated methods signer and
- Use the sign and verify methods when they are available in
cryptography instead of the deprecated methods signer and
verifier.
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-josepy
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,14 @@
%define libname josepy
%{?sle15_python_module_pythons}
Name: python-%{libname}
Version: 1.14.0
Version: 2.0.0
Release: 0
Summary: JOSE protocol implementation in Python
License: Apache-2.0
URL: https://github.com/certbot/josepy
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
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module cryptography >= 1.5}
BuildRequires: %{python_module pip}
@@ -50,7 +49,7 @@ JOSE protocol implementation in Python using cryptography.
It is used by the certbot project. Formerly Let's Encrypt project.
%prep
%setup -q -n %{libname}-%{version}
%autosetup -p1 -n %{libname}-%{version}
%build
%pyproject_wheel