Compare commits

4 Commits

Author SHA256 Message Date
e177b4b65c Accepting request 1289704 from devel:languages:python
- Switch to pyproject macros.
- Update {Build,}Requires to reflect current requirements.

OBS-URL: https://build.opensuse.org/request/show/1289704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oic?expand=0&rev=10
2025-07-02 10:12:16 +00:00
8e260ec624 - Switch to pyproject macros.
- Update {Build,}Requires to reflect current requirements.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oic?expand=0&rev=18
2025-07-02 02:37:07 +00:00
73256cc9c9 Accepting request 1235884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1235884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oic?expand=0&rev=9
2025-01-09 14:09:34 +00:00
ba2d2d05d6 Accepting request 1235864 from home:mcalabkova:branches:devel:languages:python
- Update to 1.7.0
  * Fix test for new requests version by @tpazderka in #841
  * Fix typing for Cryptodomex by @tpazderka in #843
  * Don't throw exception for token error response. by @zamzterz in #844
  * Fix links after repo move by @tpazderka in #846
  * Pass timeout to all requests by @tpazderka in #848
  * Improve settings by using pydantic by @tpazderka in #847
  * Correct OpenID Connect Core specification URL in doc by @hlin in #850
  * Add authn_method to Consumer.complete() by @stinovlas in #852
  * Use session_state to backup consumer state if available by @gbip in #854
  * Repair some oauth_examples and get rid of the outdated jquery file by @schlenk in #857
  * Pin autodoc_pydantic to >=2.0.0 by @schlenk in #863
  * Remove Python 3.7 by @schlenk in #870
  * Fix logging without format string by @schlenk in #871
  * Bump jinja2 from 2.11.3 to 3.1.3 in /oidc_example/simple_op by @dependabot in #865
  * OSSF Scorecard & Badge by @schlenk in #874
  * Update scorecard.yml by @schlenk in #875
- Drop fix-scheme-message.patch

OBS-URL: https://build.opensuse.org/request/show/1235864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oic?expand=0&rev=16
2025-01-08 11:13:03 +00:00
5 changed files with 43 additions and 31 deletions

View File

@@ -1,13 +0,0 @@
Index: pyoidc-1.5.0/tests/test_oic_provider.py
===================================================================
--- pyoidc-1.5.0.orig/tests/test_oic_provider.py
+++ pyoidc-1.5.0/tests/test_oic_provider.py
@@ -1352,7 +1352,7 @@ class TestProvider(object):
assert isinstance(logcap.records[1].msg, MissingSchema)
error = (
"Invalid URL 'example.com': No scheme supplied. Perhaps you meant "
- "http://example.com?"
+ "https://example.com?"
)
assert str(logcap.records[1].msg) == error

View File

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

3
oic-1.7.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Jul 2 02:36:22 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Update {Build,}Requires to reflect current requirements.
-------------------------------------------------------------------
Tue May 14 07:17:29 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 1.7.0
* Fix test for new requests version by @tpazderka in #841
* Fix typing for Cryptodomex by @tpazderka in #843
* Don't throw exception for token error response. by @zamzterz in #844
* Fix links after repo move by @tpazderka in #846
* Pass timeout to all requests by @tpazderka in #848
* Improve settings by using pydantic by @tpazderka in #847
* Correct OpenID Connect Core specification URL in doc by @hlin in #850
* Add authn_method to Consumer.complete() by @stinovlas in #852
* Use session_state to backup consumer state if available by @gbip in #854
* Repair some oauth_examples and get rid of the outdated jquery file by @schlenk in #857
* Pin autodoc_pydantic to >=2.0.0 by @schlenk in #863
* Remove Python 3.7 by @schlenk in #870
* Fix logging without format string by @schlenk in #871
* Bump jinja2 from 2.11.3 to 3.1.3 in /oidc_example/simple_op by @dependabot in #865
* OSSF Scorecard & Badge by @schlenk in #874
* Update scorecard.yml by @schlenk in #875
- Drop fix-scheme-message.patch
-------------------------------------------------------------------
Mon Feb 6 08:42:48 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-oic
#
# 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,46 +16,43 @@
#
%define skip_python2 1
%global modname oic
Name: python-oic
Version: 1.5.0
Version: 1.7.0
Release: 0
Summary: A complete OpenID Connect implementation in Python
License: Apache-2.0
URL: https://github.com/OpenIDC/pyoidc
Source: https://github.com/OpenIDC/pyoidc/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-scheme-message.patch gh#OpenIDC/pyoidc@6fa769a59b8b
Patch0: fix-scheme-message.patch
BuildRequires: %{python_module Beaker}
BuildRequires: %{python_module Mako}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module dbm}
BuildRequires: %{python_module defusedxml}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module ldap}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycryptodomex}
BuildRequires: %{python_module pydantic-settings}
BuildRequires: %{python_module pyjwkest >= 1.3.6}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testfixtures}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Beaker
Requires: python-Mako
Requires: python-cryptography
Requires: python-dbm
Requires: python-defusedxml
Requires: python-pycryptodomex
Requires: python-pydantic-settings
Requires: python-pyjwkest >= 1.3.6
Requires: python-requests
Requires: python-typing
Requires: python-typing_extensions
Suggests: python-Beaker
Suggests: python-ldap
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -70,10 +67,10 @@ find src -type f -exec sed -i '1 {/#!/d}' {} +
sed -i 's/--color=yes//' tox.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/oic-client-management
@@ -91,7 +88,7 @@ export PYTHONPATH=src
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/oic
%{python_sitelib}/oic-%{version}*-info
%{python_sitelib}/oic-%{version}.dist-info
%python_alternative %{_bindir}/oic-client-management
%changelog