15
0
forked from pool/python-jira

Accepting request 1084219 from devel:languages:python

- update to 3.5.0:
  * [feature] Add support for requests timeout
  * Add projectstatuses method to get project statuses (missing
    endpoint)
  * Get the properties when fetching an Issue
  * Support for the new 'createmeta' API in Jira 8.4+
  * Make `create_issue_link` work with issue_link-objects
  * [feature] Add support for requests timeout
  * Made create_issue and create_issues consistent to handle
    multiple issue types with same name
  * KeyError: "X-RateLimit-FillRate" fix
  * Properly parse errorMessage key in error response
  * Use proper SPDX identifier
  * Remove setup.py and tidy build scripts
  * add required parameter field 'permissions' to my_permissions
    method
  * Avoid always passing on an empty body even if not given
  * Add support for IssueProperty resource
  * Add project arg to `.issue_type_by_name()`
  * fix `.add_issues_to_epic()`
  * Fix using str as issue type with `.create_issue()` when issue
    type with that name exists in many projects
  * allow filter updates when no description returned by Jira
  * Fix bug preventing use of an int for issuetype in
    `create_issue()`
  * derive attachment fname from BufferedReader object
  * [Regression] ensure `None` is handled correctly in
    `search_issues()`
  * Raise `JIRAError` when no user found
  * Add client route for deleting remote links by global (and

OBS-URL: https://build.opensuse.org/request/show/1084219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jira?expand=0&rev=9
This commit is contained in:
2023-05-03 10:57:51 +00:00
committed by Git OBS Bridge
4 changed files with 62 additions and 9 deletions

View File

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

3
jira-3.5.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,56 @@
-------------------------------------------------------------------
Wed May 3 08:58:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.5.0:
* [feature] Add support for requests timeout
* Add projectstatuses method to get project statuses (missing
endpoint)
* Get the properties when fetching an Issue
* Support for the new 'createmeta' API in Jira 8.4+
* Make `create_issue_link` work with issue_link-objects
* [feature] Add support for requests timeout
* Made create_issue and create_issues consistent to handle
multiple issue types with same name
* KeyError: "X-RateLimit-FillRate" fix
* Properly parse errorMessage key in error response
* Use proper SPDX identifier
* Remove setup.py and tidy build scripts
* add required parameter field 'permissions' to my_permissions
method
* Avoid always passing on an empty body even if not given
* Add support for IssueProperty resource
* Add project arg to `.issue_type_by_name()`
* fix `.add_issues_to_epic()`
* Fix using str as issue type with `.create_issue()` when issue
type with that name exists in many projects
* allow filter updates when no description returned by Jira
* Fix bug preventing use of an int for issuetype in
`create_issue()`
* derive attachment fname from BufferedReader object
* [Regression] ensure `None` is handled correctly in
`search_issues()`
* Raise `JIRAError` when no user found
* Add client route for deleting remote links by global (and
internal) id
* improve explanation of exception when two sprints with the
same name are found
* extend the examples with a more thorough example for getting
attachments from a specific comment
* Configurable batch size for `JIRA._fetch_pages()` and
dependant methods
* tidy ResilientSession implementation
* Add notify to comment
* As the keyring dependency is only used by jirashell, have it
be part of the cli extras requirement.
* Handle #925 rate limit error
* updated `jira.search_issues` default behaviour to include all
fields
* use importlib.metadata instead of pkg_resources
* Drop py36 py37 add py310
* improve explanation of exception when two sprints with the
same name are found
* Remove GreenHopper Resource and fix Agile tests
-------------------------------------------------------------------
Sat Jun 4 18:05:47 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jira
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jira
Version: 3.2.0
Version: 3.5.0
Release: 0
Summary: Python library for interacting with JIRA via REST APIs
License: BSD-3-Clause
@@ -27,10 +27,10 @@ URL: https://github.com/pycontribs/jira
Source: https://files.pythonhosted.org/packages/source/j/jira/jira-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pbr >= 3.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm_git_archive}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-defusedxml
@@ -54,11 +54,11 @@ This library eases the use of the JIRA REST API from Python.
%build
export LANG=en_US.UTF-8
%python_build
%pyproject_wheel
%install
export LANG=en_US.UTF-8
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/jirashell
%python_expand %fdupes %{buildroot}%{$python_sitelib}