Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyforgejo for openSUSE:Factory checked in at 2025-04-29 16:42:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyforgejo (Old) and /work/SRC/openSUSE:Factory/.python-pyforgejo.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyforgejo" Tue Apr 29 16:42:34 2025 rev:4 rq:1273432 version:2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyforgejo/python-pyforgejo.changes 2025-04-25 22:19:35.440245886 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyforgejo.new.30101/python-pyforgejo.changes 2025-04-29 16:42:48.856323776 +0200 @@ -1,0 +2,11 @@ +Tue Apr 29 11:58:39 UTC 2025 - Richard Rahl <rra...@opensuse.org> + +- update to 2.0.3: + * update pyproject.toml + * update readme + * update header + * update authorization header + * update api specs + * update tests + +------------------------------------------------------------------- Old: ---- pyforgejo-2.0.2.tar.gz New: ---- pyforgejo-2.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyforgejo.spec ++++++ --- /var/tmp/diff_new_pack.xqTWPY/_old 2025-04-29 16:42:49.392346291 +0200 +++ /var/tmp/diff_new_pack.xqTWPY/_new 2025-04-29 16:42:49.392346291 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pyforgejo -Version: 2.0.2 +Version: 2.0.3 Release: 0 Summary: A client library for accessing the Forgejo API License: MIT ++++++ pyforgejo-2.0.2.tar.gz -> pyforgejo-2.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyforgejo-2.0.2/PKG-INFO new/pyforgejo-2.0.3/PKG-INFO --- old/pyforgejo-2.0.2/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/pyforgejo-2.0.3/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.3 Name: pyforgejo -Version: 2.0.2 +Version: 2.0.3 Summary: A Python client library for accessing the Forgejo API License: MIT Author: harabat @@ -34,7 +34,7 @@ ``` yaml BASE_URL=https://codeberg.org/api/v1 -API_KEY='token your_api_key' # your API token prepended with "token" followed by a space +API_KEY=your_api_key ``` 2. Create a client and call an endpoint: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyforgejo-2.0.2/README.md new/pyforgejo-2.0.3/README.md --- old/pyforgejo-2.0.2/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/pyforgejo-2.0.3/README.md 1970-01-01 01:00:00.000000000 +0100 @@ -10,7 +10,7 @@ ``` yaml BASE_URL=https://codeberg.org/api/v1 -API_KEY='token your_api_key' # your API token prepended with "token" followed by a space +API_KEY=your_api_key ``` 2. Create a client and call an endpoint: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyforgejo-2.0.2/pyforgejo/core/client_wrapper.py new/pyforgejo-2.0.3/pyforgejo/core/client_wrapper.py --- old/pyforgejo-2.0.2/pyforgejo/core/client_wrapper.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyforgejo-2.0.3/pyforgejo/core/client_wrapper.py 1970-01-01 01:00:00.000000000 +0100 @@ -19,7 +19,7 @@ headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", } - headers["Authorization"] = self.api_key + headers["Authorization"] = f"token {self.api_key.replace('token ', '')}" return headers def get_base_url(self) -> str: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyforgejo-2.0.2/pyproject.toml new/pyforgejo-2.0.3/pyproject.toml --- old/pyforgejo-2.0.2/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/pyforgejo-2.0.3/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 @@ -4,7 +4,7 @@ [project] name = "pyforgejo" -version = "2.0.2" +version = "2.0.3" description = "A Python client library for accessing the Forgejo API" authors = [ {name = "harabat"},