From 7c3870648aa9c8475a24a8a22728b3fb46c92f2f1dd2076ed5f5593c16aab31b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 10 Nov 2024 22:24:03 +0000 Subject: [PATCH] - update to 0.15.0: * Make Channel Binding data per-host * Added support for explicit passwords using the password kwarg OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-kerberos?expand=0&rev=16 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-requests-kerberos.changes | 75 ++++++++++++++++++++++++++++++++ python-requests-kerberos.spec | 57 ++++++++++++++++++++++++ requests-kerberos-0.14.0.tar.gz | 3 ++ requests_kerberos-0.15.0.tar.gz | 3 ++ 6 files changed, 162 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-requests-kerberos.changes create mode 100644 python-requests-kerberos.spec create mode 100644 requests-kerberos-0.14.0.tar.gz create mode 100644 requests_kerberos-0.15.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-requests-kerberos.changes b/python-requests-kerberos.changes new file mode 100644 index 0000000..6cb3a6a --- /dev/null +++ b/python-requests-kerberos.changes @@ -0,0 +1,75 @@ +------------------------------------------------------------------- +Sun Nov 10 22:23:51 UTC 2024 - Dirk Müller + +- update to 0.15.0: + * Make Channel Binding data per-host + * Added support for explicit passwords using the password kwarg + +------------------------------------------------------------------- +Thu Jul 27 10:32:49 UTC 2023 - Dirk Müller + +- tag for python 3.11 to have a matching module for python311-requests + +------------------------------------------------------------------- +Sat Dec 11 22:28:52 UTC 2021 - Dirk Müller + +- update to 0.14.0: + * Added support for proxy authentication with ``HTTP`` endpoints. + * Support for proxying ``HTTPS`` endpoints is not available due to limitations + of the underlying requests/urllib3 library. + * Fixed up stray bytes to str conversion. + * Change Kerberos dependencies to pyspnego_ to modernise the underlying + * Removed the ``wrap_winrm`` and ``unwrap_winrm`` functions + * Dropped support for Python 2 and raised minimum Python version to 3.6. + * Renamed the ``context`` attribute to ``_context`` to indicate it's meant for + internal use only. + * Fix Negotiate header regex pattern to avoid DoS affected patterns + +------------------------------------------------------------------- +Tue Feb 5 05:17:02 UTC 2019 - Thomas Bechtold + +- update to 0.12.0: + - Add support for channel binding tokens + - Add support for kerberos message encryption + - Misc CI/test fixes + +------------------------------------------------------------------- +Tue Dec 4 12:53:46 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Mon Aug 21 17:02:14 UTC 2017 - tbechtold@suse.com + +- update to 0.11.0: + * add license title + * Swap kerberos-sspi with winkerberos. + * Add WinKerberos-specific blurb for custom principal. + * v0.11.0 + * Revert "Merge pull request #73 from rbcarson/windows-principal-workaround-71" + * Require at least WinKerberos 0.4.0. + * Require at least WinKerberos 0.5.0. + * Bring back reverted fixes. +- convert to singlespec + +------------------------------------------------------------------- +Tue Nov 15 09:32:18 UTC 2016 - dmueller@suse.com + +- update to 0.10.0: + - Make it possible to receive errors without having their contents and headers + stripped. + - Resolve a bug caused by passing the ``principal`` keyword argument to + kerberos-sspi on Windows. + - Support for principal, hostname, and realm override. + - Added support for mutual auth. + +------------------------------------------------------------------- +Thu Feb 11 07:37:39 UTC 2016 - dmueller@suse.com + +- fix requires + +------------------------------------------------------------------- +Tue Feb 9 14:17:54 UTC 2016 - tbechtold@suse.com + +- Initial packaging (version 0.8.0) + diff --git a/python-requests-kerberos.spec b/python-requests-kerberos.spec new file mode 100644 index 0000000..07199c9 --- /dev/null +++ b/python-requests-kerberos.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-requests-kerberos +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-requests-kerberos +Version: 0.15.0 +Release: 0 +Summary: A Kerberos authentication handler for python-requests +License: ISC +Group: Development/Languages/Python +URL: https://github.com/requests/requests-kerberos +Source: https://files.pythonhosted.org/packages/source/r/requests-kerberos/requests_kerberos-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +Requires: python-pyspnego +Requires: python-requests >= 1.1.0 +BuildArch: noarch +%python_subpackages + +%description +Requests is an HTTP library, written in Python, for human beings. This library +adds optional Kerberos/GSSAPI authentication support and supports mutual +authentication. Basic GET usage: + +%prep +%setup -q -n requests_kerberos-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files %{python_files} +%license LICENSE +%doc AUTHORS README.rst +%{python_sitelib}/* + +%changelog diff --git a/requests-kerberos-0.14.0.tar.gz b/requests-kerberos-0.14.0.tar.gz new file mode 100644 index 0000000..34160e9 --- /dev/null +++ b/requests-kerberos-0.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cda9d1240ae5392e081869881c8742d0e171fd6a893a7ac0875db2748e966fd1 +size 14060 diff --git a/requests_kerberos-0.15.0.tar.gz b/requests_kerberos-0.15.0.tar.gz new file mode 100644 index 0000000..3b41521 --- /dev/null +++ b/requests_kerberos-0.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:437512e424413d8113181d696e56694ffa4259eb9a5fc4e803926963864eaf4e +size 24410