diff --git a/github3.py-3.2.0.tar.gz b/github3.py-3.2.0.tar.gz deleted file mode 100644 index a8bb364..0000000 --- a/github3.py-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09b72be1497d346b0968cde8360a0d6af79dc206d0149a63cd3ec86c65c377cc -size 35278666 diff --git a/github3.py-4.0.1.tar.gz b/github3.py-4.0.1.tar.gz new file mode 100644 index 0000000..4116aec --- /dev/null +++ b/github3.py-4.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30d571076753efc389edc7f9aaef338a4fcb24b54d8968d5f39b1342f45ddd36 +size 36214038 diff --git a/python-github3.py.changes b/python-github3.py.changes index 83c8b76..4a6ed42 100644 --- a/python-github3.py.changes +++ b/python-github3.py.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jun 28 08:30:19 UTC 2023 - Steve Kowalik + +- Update to 4.0.1: + * github3.repos.comparison.Comparison.commits was renamed to + original_commits. + * Add tests for Python 3.11 + * Add function for getting repos for github app + * Cancel and failed invitation + * Allow to set GitHub API version + * Remove support to EOL Python 3.6 + * Missing set permission for collaborators + * Modernize the build: switch to hatchling +- Stop using greedy globs in %files. + ------------------------------------------------------------------- Fri May 6 11:12:20 UTC 2022 - pgajdos@suse.com diff --git a/python-github3.py.spec b/python-github3.py.spec index 12c3457..710ff15 100644 --- a/python-github3.py.spec +++ b/python-github3.py.spec @@ -1,7 +1,7 @@ # # spec file for package python-github3.py # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-github3.py -Version: 3.2.0 +Version: 4.0.1 Release: 0 Summary: Python wrapper for the GitHub API License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/sigmavirus24/github3.py Source0: https://files.pythonhosted.org/packages/source/g/github3.py/github3.py-%{version}.tar.gz Source20: https://raw.githubusercontent.com/sigmavirus24/github3.py/%{version}/tests/id_rsa.pub -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT >= 2.3.0 @@ -59,18 +58,19 @@ Github3.py is wrapper for v3 of the GitHub API written in python. cp %{SOURCE20} tests/ %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -c /dev/null +%pytest -c /dev/null -k 'not (test_patch or test_diff)' %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/github3 +%{python_sitelib}/github3.py-%{version}.dist-info %changelog