17
0

4 Commits

Author SHA256 Message Date
7826b7a96d Accepting request 1289225 from home:glaubitz:branches:devel:languages:python
- Update to 3.3.1
  OAuth2.0 Client:
  * #906: fix regression of expires_in parsing when float in string.
- from version 3.3.0
  OAuth2.0 Provider:
  * OIDC: #879 Changed in how ui_locales is parsed
  * RFC8628: Added OAuth2.0 Device Authorization Grant support
  * PKCE: #876, #893 Fixed `create_code_verifier` length
  * OIDC: Pre-configured OIDC server to use Refresh Token by default
  OAuth2.0 Common:
  * OAuth2Error: Allow 0 to be a valid state
  OAuth2.0 Client:
  * #745: expires_at is forced to be an int
  * #899: expires_at clarification
  General:
  * Removed Python 3.5, 3.6, 3.7 support
  * #859, #883: Added Python 3.12, 3.13 Support
  * Added dependency-review GitHub Action
  * Updated various references of license (SPDX identifier..)
  * Added GitHub Action for lint, replaced bandy with ruff, removed isort...
  * Migrated to GitHub Actions from Travis
  * Added Security Policy
- Drop support for older Python versions
- Drop Make-UtilsTests.test_filter_params-Python-3.13-compatible.patch,
  merged upstream
- Remove unneeded workaround to recompile Python sources
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1289225
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=69
2025-06-30 12:57:32 +00:00
92cf3f7a41 Accepting request 1202960 from home:ecsos:python
- Fix build error under Leap.

OBS-URL: https://build.opensuse.org/request/show/1202960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=67
2024-09-24 13:01:31 +00:00
d14edb46fa Accepting request 1199660 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to make UtilsTests.test_filter_params Python 3.13+ compatible
  * Make-UtilsTests.test_filter_params-Python-3.13-compatible.patch

OBS-URL: https://build.opensuse.org/request/show/1199660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=65
2024-09-09 10:53:34 +00:00
7d62ae677b - Skip failing test with jwt 2.9.0
gh#oauthlib/oauthlib#877

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=63
2024-08-12 08:43:11 +00:00
4 changed files with 67 additions and 13 deletions

Binary file not shown.

3
oauthlib-3.3.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Mon Jun 30 09:16:42 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.3.1
OAuth2.0 Client:
* #906: fix regression of expires_in parsing when float in string.
- from version 3.3.0
OAuth2.0 Provider:
* OIDC: #879 Changed in how ui_locales is parsed
* RFC8628: Added OAuth2.0 Device Authorization Grant support
* PKCE: #876, #893 Fixed `create_code_verifier` length
* OIDC: Pre-configured OIDC server to use Refresh Token by default
OAuth2.0 Common:
* OAuth2Error: Allow 0 to be a valid state
OAuth2.0 Client:
* #745: expires_at is forced to be an int
* #899: expires_at clarification
General:
* Removed Python 3.5, 3.6, 3.7 support
* #859, #883: Added Python 3.12, 3.13 Support
* Added dependency-review GitHub Action
* Updated various references of license (SPDX identifier..)
* Added GitHub Action for lint, replaced bandy with ruff, removed isort...
* Migrated to GitHub Actions from Travis
* Added Security Policy
- Drop support for older Python versions
- Drop Make-UtilsTests.test_filter_params-Python-3.13-compatible.patch,
merged upstream
- Remove unneeded workaround to recompile Python sources
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
* Update name for dist directory in %files section
-------------------------------------------------------------------
Tue Sep 24 12:27:53 UTC 2024 - ecsos <ecsos@opensuse.org>
- Fix build error under Leap.
-------------------------------------------------------------------
Mon Sep 9 10:18:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Cherry-pick upstream patch to make UtilsTests.test_filter_params Python 3.13+ compatible
* Make-UtilsTests.test_filter_params-Python-3.13-compatible.patch
-------------------------------------------------------------------
Mon Aug 12 08:42:35 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Skip failing test with jwt 2.9.0
gh#oauthlib/oauthlib#877
-------------------------------------------------------------------
Fri Apr 21 12:28:37 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-oauthlib
#
# 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
@@ -16,10 +16,9 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-oauthlib
Version: 3.2.2
Version: 3.3.1
Release: 0
Summary: A Generic Implementation of the OAuth Request-Signing Logic
License: BSD-3-Clause
@@ -29,8 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/o/oauthlib/oauthl
BuildRequires: %{python_module PyJWT >= 2.0.0}
BuildRequires: %{python_module blinker >= 1.4}
BuildRequires: %{python_module cryptography >= 3.0.0 }
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyJWT >= 2.0.0
@@ -60,21 +62,21 @@ veneer on top of OAuthLib and get OAuth support for very little effort.
%setup -q -n oauthlib-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
# Failing test with JWT 2.9.0 gh#oauthlib/oauthlib#877
donttest="test_rsa_bad_keys"
%pytest -k "not $donttest"
%files %{python_files}
%license LICENSE
%doc README.rst CHANGELOG.rst
%dir %{python_sitelib}/oauthlib
%{python_sitelib}/oauthlib/*
%dir %{python_sitelib}/oauthlib-%{version}-py*.egg-info
%{python_sitelib}/oauthlib-%{version}-py*.egg-info/*
%{python_sitelib}/oauthlib
%{python_sitelib}/oauthlib-%{version}.dist-info
%changelog