14
0

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
This commit is contained in:
Richard Rahl
2025-04-14 10:40:30 +00:00
committed by Git OBS Bridge
parent da3c8c6ce5
commit 5488cf17fc
4 changed files with 39 additions and 8 deletions

View File

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

3
pyforgejo-2.0.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Apr 14 10:36:07 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- 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 <rrahl0@opensuse.org>

View File

@@ -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