17
0

Compare commits

9 Commits

Author SHA256 Message Date
91099caea2 Accepting request 1275632 from devel:languages:python
- update to 2.0.4:
  * update pyproject.toml
  * update dev steps
  * remove debug statements for base_url and api_key
  * update dev steps (forwarded request 1275631 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1275632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyforgejo?expand=0&rev=5
2025-05-08 18:39:58 +00:00
Richard Rahl
5673906c93 Accepting request 1275631 from home:rrahl0
- update to 2.0.4:
  * update pyproject.toml
  * update dev steps
  * remove debug statements for base_url and api_key
  * update dev steps

OBS-URL: https://build.opensuse.org/request/show/1275631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=12
2025-05-08 16:24:18 +00:00
1a91d226b1 Accepting request 1273432 from devel:languages:python
- update to 2.0.3:
  * update pyproject.toml
  * update readme
  * update header
  * update authorization header
  * update api specs
  * update tests (forwarded request 1273431 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1273432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyforgejo?expand=0&rev=4
2025-04-29 14:42:34 +00:00
Richard Rahl
21dd46f96a Accepting request 1273431 from home:rrahl0
- update to 2.0.3:
  * update pyproject.toml
  * update readme
  * update header
  * update authorization header
  * update api specs
  * update tests

OBS-URL: https://build.opensuse.org/request/show/1273431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=10
2025-04-29 12:03:11 +00:00
f0ebe37c08 Accepting request 1270988 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1270988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyforgejo?expand=0&rev=3
2025-04-25 20:18:49 +00:00
Richard Rahl
c3112032f3 Accepting request 1270987 from home:rrahl0
- update to 2.0.2:
  * update pyproject.toml
  * regenerate client
  * update dev dependencies
  * switch from poetry to uv
  * publish with uv to testpypi
  * format pyproject.toml
  * pyproject: remove invalid packages field
  * Add py.typed file
  * pyproject: limit to first poetry version that supports PEP 621
  * add dev dependencies
  * format tests
  * format readme
  * update poetry lock file

OBS-URL: https://build.opensuse.org/request/show/1270987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=8
2025-04-19 18:21:04 +00:00
Richard Rahl
5488cf17fc 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
2025-04-14 10:40:30 +00:00
d675fc99ca Accepting request 1244035 from devel:languages:python
- update to 2.0.0:
  * massive rewrite, no changelogs given (everything is in one commit) (forwarded request 1244034 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1244035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyforgejo?expand=0&rev=2
2025-02-07 22:04:46 +00:00
Richard Rahl
da3c8c6ce5 Accepting request 1244034 from home:rrahl0
- update to 2.0.0:
  * massive rewrite, no changelogs given (everything is in one commit)

OBS-URL: https://build.opensuse.org/request/show/1244034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyforgejo?expand=0&rev=5
2025-02-06 23:43:47 +00:00
4 changed files with 103 additions and 10 deletions

View File

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

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

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

View File

@@ -1,3 +1,76 @@
-------------------------------------------------------------------
Thu May 8 16:18:35 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 2.0.4:
* update pyproject.toml
* update dev steps
* remove debug statements for base_url and api_key
* update dev steps
-------------------------------------------------------------------
Tue Apr 29 11:58:39 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 2.0.3:
* update pyproject.toml
* update readme
* update header
* update authorization header
* update api specs
* update tests
-------------------------------------------------------------------
Thu Apr 17 14:56:38 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 2.0.2:
* update pyproject.toml
* regenerate client
* update dev dependencies
* switch from poetry to uv
* publish with uv to testpypi
* format pyproject.toml
* pyproject: remove invalid packages field
* Add py.typed file
* pyproject: limit to first poetry version that supports PEP 621
* add dev dependencies
* format tests
* format readme
* update poetry lock file
-------------------------------------------------------------------
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>
- update to 2.0.0:
* massive rewrite, no changelogs given (everything is in one commit)
-------------------------------------------------------------------
Sat Dec 14 19:32:03 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyforgejo
#
# Copyright (c) 2024 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
@@ -18,24 +18,44 @@
%{?sle15_python_module_pythons}
Name: python-pyforgejo
Version: 1.0.4
Version: 2.0.4
Release: 0
Summary: A client library for accessing the Forgejo API
License: MIT
URL: https://codeberg.org/harabat/pyforgejo
Source0: https://files.pythonhosted.org/packages/source/p/pyforgejo/pyforgejo-%{version}.tar.gz
BuildRequires: %{python_module attrs >= 21.3.0}
BuildRequires: %{python_module base >= 3.8}
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 python-dateutil}
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
Requires: python-annotated-types >= 0.6.0
Requires: python-anyio
Requires: python-attrs
Requires: python-certifi
Requires: python-click >= 5.0
Requires: python-colorama
Requires: python-exceptiongroup
Requires: python-h11
Requires: python-httpcore
Requires: python-httpx
Requires: python-idna
Requires: python-iniconfig
Requires: python-packaging
Requires: python-pluggy
Requires: python-pydantic
Requires: python-pydantic-core
Requires: python-python-dateutil
Requires: python-python-dotenv
Requires: python-sniffio
Requires: python-tomli
Requires: python-typing-extensions >= 4.12.2
%python_subpackages
%description
@@ -54,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