Compare commits

6 Commits

Author SHA256 Message Date
8b8da8ba5c Accepting request 1251882 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rt?expand=0&rev=23
2025-03-11 19:44:55 +00:00
55a2b7e36d Accepting request 1251818 from home:glaubitz:branches:devel:languages:python
- Update to 3.3.4
  * Remove requirements section. this can be easily reviewed
    in pyproject.toml
  * Fix bad date comparison; fixes (#107)
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1251818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rt?expand=0&rev=47
2025-03-10 20:52:11 +00:00
6a1dcb48bb Accepting request 1235563 from devel:languages:python
- switch to github tarball, as there's no longer an sdist on pypi
- update to version v3.3.3:
 - Changes
  - Starting with version 0.28.0 of httpx, *verify* should be either a bool or an *SSL Context*.
- update to version 3.3.2:
 - Fixes
  - Replace the removed httpx parameter of *proxies* by *proxy* (fixes #102)
  - Pin dependencies to supported relative upstream versions.
  - Remove the now obsolete *setup.py*.
- update to version 3.3.1:
 - Fixes
  - Fix str(bytes) warning (*BytesWarning: str() on a bytes instance*) (#1074)
 - Changes
  - Set included files for ruff
  - Switch to hatchling
  - Set ignores for tests files
  - Ignore uv.lock
- update to version 3.3.0:
 - Removed
  - Remove support for now EoL Python 3.8.
- update to version 3.2.0:
 - Added
  - Added option for custom list of fields to be populated for search "query_format" param to avoid unnecessary round trips to get fields like Told, Starts, Resolved, etc by returning the required fields during search. (see #97 @nerdfirefighter)

OBS-URL: https://build.opensuse.org/request/show/1235563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rt?expand=0&rev=22
2025-01-07 19:54:29 +00:00
35666c9b65 - switch to github tarball, as there's no longer an sdist on pypi
- update to version v3.3.3:
 - Changes
  - Starting with version 0.28.0 of httpx, *verify* should be either a bool or an *SSL Context*.
- update to version 3.3.2:
 - Fixes
  - Replace the removed httpx parameter of *proxies* by *proxy* (fixes #102)
  - Pin dependencies to supported relative upstream versions.
  - Remove the now obsolete *setup.py*.
- update to version 3.3.1:
 - Fixes
  - Fix str(bytes) warning (*BytesWarning: str() on a bytes instance*) (#1074)
 - Changes
  - Set included files for ruff
  - Switch to hatchling
  - Set ignores for tests files
  - Ignore uv.lock
- update to version 3.3.0:
 - Removed
  - Remove support for now EoL Python 3.8.
- update to version 3.2.0:
 - Added
  - Added option for custom list of fields to be populated for search "query_format" param to avoid unnecessary round trips to get fields like Told, Starts, Resolved, etc by returning the required fields during search. (see #97 @nerdfirefighter)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rt?expand=0&rev=45
2025-01-07 10:39:35 +00:00
e90c87751e Accepting request 1202583 from devel:languages:python
- update to 3.2.0:
  * Added option for custom list of fields to be populated for
    search "query_format" param to avoid unnecessary round trips
    to get fields like Told, Starts, Resolved, etc by returning
    the required fields during search. (see #97 @nerdfirefighter)

OBS-URL: https://build.opensuse.org/request/show/1202583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rt?expand=0&rev=21
2024-09-23 13:23:53 +00:00
80c4eaf81f - update to 3.2.0:
* Added option for custom list of fields to be populated for
    search "query_format" param to avoid unnecessary round trips
    to get fields like Told, Starts, Resolved, etc by returning
    the required fields during search. (see #97 @nerdfirefighter)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rt?expand=0&rev=43
2024-09-23 09:22:00 +00:00
4 changed files with 56 additions and 9 deletions

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Mon Mar 10 14:25:56 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.3.4
* Remove requirements section. this can be easily reviewed
in pyproject.toml
* Fix bad date comparison; fixes (#107)
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Tue Jan 7 10:32:07 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
- switch to github tarball, as there's no longer an sdist on pypi
- update to version v3.3.3:
- Changes
- Starting with version 0.28.0 of httpx, *verify* should be either a bool or an *SSL Context*.
- update to version 3.3.2:
- Fixes
- Replace the removed httpx parameter of *proxies* by *proxy* (fixes #102)
- Pin dependencies to supported relative upstream versions.
- Remove the now obsolete *setup.py*.
- update to version 3.3.1:
- Fixes
- Fix str(bytes) warning (*BytesWarning: str() on a bytes instance*) (#1074)
- Changes
- Set included files for ruff
- Switch to hatchling
- Set ignores for tests files
- Ignore uv.lock
- update to version 3.3.0:
- Removed
- Remove support for now EoL Python 3.8.
- update to version 3.2.0:
- Added
- Added option for custom list of fields to be populated for search "query_format" param to avoid unnecessary round trips to get fields like Told, Starts, Resolved, etc by returning the required fields during search. (see #97 @nerdfirefighter)
-------------------------------------------------------------------
Mon Sep 23 09:20:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.2.0:
* Added option for custom list of fields to be populated for
search "query_format" param to avoid unnecessary round trips
to get fields like Told, Starts, Resolved, etc by returning
the required fields during search. (see #97 @nerdfirefighter)
-------------------------------------------------------------------
Thu Mar 14 08:56:09 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rt
#
# 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
@@ -16,23 +16,25 @@
#
%{?sle15_python_module_pythons}
Name: python-rt
Version: 3.1.4
Version: 3.3.4
Release: 0
Summary: Python interface to Request Tracker API
License: GPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/CZ-NIC/python-rt
Source: https://files.pythonhosted.org/packages/source/r/rt/rt-%{version}.tar.gz
Source: https://github.com/python-rt/python-rt/archive/refs/tags/v%{version}.tar.gz#/rt-%{version}.tar.gz
Source1: setup.cfg
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-httpx >= 0.28
Requires: python-requests
Requires: python-requests-toolbelt
BuildArch: noarch
%python_subpackages
@@ -41,7 +43,7 @@ BuildArch: noarch
Python implementation of Request Tracker (a ticketing system) REST API described here: https://rt-wiki.bestpractical.com/wiki/REST
%prep
%setup -q -n rt-%{version}
%setup -q -n python-rt-%{version}
cp %{SOURCE1} setup.cfg
sed -i 's/^dynamic = \["version"]/version = "%{version}"/' pyproject.toml

View File

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

3
rt-3.3.4.tar.gz Normal file
View File

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