Skip to content

Commit 2ace2e9

Browse files
docs: add warning about broken PyPI release and provide temporary installation instructions (#2348)
* docs: add warning about broken PyPI release and provide temporary installation instructions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 37b1f98 commit 2ace2e9

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,26 @@ jobs:
7070
uses: pypa/gh-action-pypi-publish@release/v1
7171
with:
7272
password: ${{ secrets.PYPI_API_TOKEN }}
73+
74+
asset:
75+
needs: [build]
76+
runs-on: ubuntu-latest
77+
permissions:
78+
contents: write
79+
steps:
80+
- name: Download artifact
81+
uses: actions/download-artifact@v4
82+
with:
83+
name: package
84+
path: dist
85+
86+
- name: Show tree
87+
run: tree
88+
89+
- name: Add release asset
90+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
91+
with:
92+
tag_name: ${{ github.event.release.tag_name }}
93+
fail_on_unmatched_files: true
94+
files: |
95+
dist/*

README.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,36 @@ Jira Python Library
1818
:target: https://codecov.io/gh/pycontribs/jira
1919

2020

21+
WARNING PYPI RELEASE BROKEN - TEMPORARY FIX
22+
--------------------------------------------
23+
24+
| Dear users, currently we have an issue releasing to pypi which we are trying to solve as soon as possible.
25+
| Do know this project is fully funded by volunteer work, we're doing as much as we can with our limited time.
26+
| Version 3.10.1 fixes a deprecation in the search api of atlassian jira
27+
| A temporary work around shown below can be used to install the 3.10.1 version of the jira package.
28+
29+
.. code-block:: bash
30+
31+
pip install git+https://github.com/pycontribs/jira.git@3.10.1
32+
33+
if you don't have git installed on your system or you prefer whl files you can install the 3.10.1 like below.
34+
35+
.. code-block:: bash
36+
37+
pip install https://github.com/pycontribs/jira/releases/download/3.10.1/jira-3.10.1-py3-none-any.whl
38+
39+
in your requirements.txt or pyproject.toml you can temporarily add this release like so.
40+
41+
.. code-block:: bash
42+
43+
requests # or any other package in your project
44+
https://github.com/pycontribs/jira/releases/download/3.10.1/jira-3.10.1-py3-none-any.whl # please check if pypi releases are ok again here https://pypi.org/project/jira/
45+
46+
sorry for the inconvenience, this message will disappear once the issues are solved.
47+
48+
______
49+
50+
2151
This library eases the use of the Jira REST API from Python and it has been used in production for years.
2252

2353
As this is an open-source project that is community maintained, do not be surprised if some bugs or features are not implemented quickly enough.

0 commit comments

Comments
 (0)