From 5488cf17fca906583324cae142f025bd855706fc41ad943e71a6628a079f9205 Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Mon, 14 Apr 2025 10:40:30 +0000 Subject: [PATCH] Accepting request 1269231 from home:rrahl0 - update to 2.0.1: * update pyproject.toml * regenerate client * format tests * add test for repoGetContents endpoint * switch from conda to uv * switch to OpenAPI 3 in dev * add API specs * update api resources * update dev steps * use different production and testing tokens * add POST tests * update pyproject format * format with ruff * update ruff settings * add tests * update install guidance * mention 1.0 branch * update client to Forgejo 10 * update development guidance * update formatting of .env block * update formatting of api token in .env file * add lock file * add dev dependencies * update readme for 2.0 OBS-URL: https://build.opensuse.org/request/show/1269231 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=7 --- pyforgejo-2.0.0.tar.gz | 3 --- pyforgejo-2.0.1.tar.gz | 3 +++ python-pyforgejo.changes | 29 +++++++++++++++++++++++++++++ python-pyforgejo.spec | 12 +++++++----- 4 files changed, 39 insertions(+), 8 deletions(-) delete mode 100644 pyforgejo-2.0.0.tar.gz create mode 100644 pyforgejo-2.0.1.tar.gz diff --git a/pyforgejo-2.0.0.tar.gz b/pyforgejo-2.0.0.tar.gz deleted file mode 100644 index 61cbb73..0000000 --- a/pyforgejo-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4150915797da2247a1cc91dd8a5415e09e52bc53e2b5ec1468d2613fd2627610 -size 154616 diff --git a/pyforgejo-2.0.1.tar.gz b/pyforgejo-2.0.1.tar.gz new file mode 100644 index 0000000..2006db1 --- /dev/null +++ b/pyforgejo-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae58afdd90e1f02c32dc8ef1297c7fd49253793f33bb94a3247b09e082dc3fd5 +size 220292 diff --git a/python-pyforgejo.changes b/python-pyforgejo.changes index ce225dc..f829dac 100644 --- a/python-pyforgejo.changes +++ b/python-pyforgejo.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon Apr 14 10:36:07 UTC 2025 - Richard Rahl + +- update to 2.0.1: + * update pyproject.toml + * regenerate client + * format tests + * add test for repoGetContents endpoint + * switch from conda to uv + * switch to OpenAPI 3 in dev + * add API specs + * update api resources + * update dev steps + * use different production and testing tokens + * add POST tests + * update pyproject format + * format with ruff + * update ruff settings + * add tests + * update install guidance + * mention 1.0 branch + * update client to Forgejo 10 + * update development guidance + * update formatting of .env block + * update formatting of api token in .env file + * add lock file + * add dev dependencies + * update readme for 2.0 + ------------------------------------------------------------------- Thu Feb 6 23:36:34 UTC 2025 - Richard Rahl diff --git a/python-pyforgejo.spec b/python-pyforgejo.spec index 68bdd4b..2f0b4b2 100644 --- a/python-pyforgejo.spec +++ b/python-pyforgejo.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pyforgejo -Version: 2.0.0 +Version: 2.0.1 Release: 0 Summary: A client library for accessing the Forgejo API License: MIT @@ -26,10 +26,12 @@ URL: https://codeberg.org/harabat/pyforgejo Source0: https://files.pythonhosted.org/packages/source/p/pyforgejo/pyforgejo-%{version}.tar.gz BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module httpx >= 0.20} +BuildRequires: %{python_module isort} BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry-core >= 1.0.0} -BuildRequires: %{python_module pydantic >= 2.9.2} -BuildRequires: %{python_module python-dotenv} +BuildRequires: %{python_module poetry-core >= 2.0.0} +BuildRequires: %{python_module pydantic >= 2.11.2} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dotenv >= 1.1.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -72,7 +74,7 @@ try to be compatible with gitea. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# no tests at this point +#tests need internet %files %{python_files} %license LICENSE