From d53c4ff81b1d2e00e4f269b9fad1c5158a1e95ec42a63a76d24d188ee1d570e3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 May 2023 09:02:32 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-jira?expand=0&rev=17 --- jira-3.2.0.tar.gz | 3 --- jira-3.5.0.tar.gz | 3 +++ python-jira.changes | 53 +++++++++++++++++++++++++++++++++++++++++++++ python-jira.spec | 12 +++++----- 4 files changed, 62 insertions(+), 9 deletions(-) delete mode 100644 jira-3.2.0.tar.gz create mode 100644 jira-3.5.0.tar.gz diff --git a/jira-3.2.0.tar.gz b/jira-3.2.0.tar.gz deleted file mode 100644 index d207794..0000000 --- a/jira-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7cb2ba909fde2464792948d58042096aa481493b40ab567661e08975f5e86c8 -size 112780 diff --git a/jira-3.5.0.tar.gz b/jira-3.5.0.tar.gz new file mode 100644 index 0000000..d9f9a68 --- /dev/null +++ b/jira-3.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b82b860d5ad10bda411a532269dcff5031a98d84adcba9ba453036c3b5ebd17 +size 95569 diff --git a/python-jira.changes b/python-jira.changes index 3d01ee4..0faa9bf 100644 --- a/python-jira.changes +++ b/python-jira.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Wed May 3 08:58:26 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-jira.spec b/python-jira.spec index 74c3a61..8445b93 100644 --- a/python-jira.spec +++ b/python-jira.spec @@ -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}