Commit graph

39 commits

Author SHA1 Message Date
Miro Hrončok
7dd9a83612 setup.py: Fix version retrieval on Python 3.13+
Accessing __version__ from locals() no longer works.

This was reported to Python in https://github.com/python/cpython/issues/118888
but according to Python developers, it:

 - is an intended change of behavior described in PEP 667
 - was an illegal usage that happens to work in a favored way to begin with
2024-07-24 09:45:04 +02:00
Yuming Zhu
ad7cea732d add requirement: defusedxml in setup.py
fixes: #4067
2024-04-12 12:10:05 +02:00
Jana Cupova
ba612e1e90 Remove rpm-py-installer, update test docs and update Dockerfiles
Remove rpm-py-installer from requirements
Check duplicite and unused packages in Dockerfiles and test-requirements
Update docs about unit tests.

Fixes: https://pagure.io/koji/issue/3868
2024-01-30 12:44:07 +01:00
Tomas Kopecek
59f7f8642a fix flake8 errors
Related: https://pagure.io/koji/issue/3480
2022-08-29 15:03:05 +02:00
Tomas Kopecek
8a9364c374 Add long description to setup.py
Related: https://pagure.io/koji/issue/3373
2022-06-20 09:35:16 +02:00
Otto Urpelainen
761d9c139a Make setup.py executable
In order use setup.py locally, it needs to be executable.
Also, it is easier to call with a hashbang.
2021-12-20 09:10:40 +01:00
Christopher O'Brien
ffe0a537b7 attempting to bridge the gap with pip
uses the appropriate rpm macros for installing python wheels to
provide the base koji lib. Packages the resulting dist-info data
as well.
2021-05-03 11:13:22 +02:00
Tomas Kopecek
ebdbb80e02 drop PyOpenSSL usage
We've replaced it with requests library some time ago, this code has no
better sensitivity than requests error checking, so we can drop it
completely.

Fixes: https://pagure.io/koji/issue/2752
2021-03-24 14:43:40 +01:00
Tomas Kopecek
5a4efd6d07 fix merge problems 2020-10-06 15:10:22 +02:00
Tomas Kopecek
18f5a29ead packaging 2020-10-06 15:00:23 +02:00
Tomas Kopecek
ba908fd2de report versions of components
Fixes: https://pagure.io/koji/issue/2430
2020-09-30 10:43:19 +02:00
Tomas Kopecek
3634db19d4 bump version to 1.22.1 2020-09-07 09:44:07 +02:00
Mike McLean
6890c74cf7 release bump and changelog
Fixes https://pagure.io/koji/issue/2403
2020-07-28 10:17:23 +02:00
Simo Sorce
2c663f0b73 Use requests_gssapi instead of requests_kerberos
Retain ability to use the old requests_kerberos where request_gssapi is
not available yet.

Signed-off-by: Simo Sorce <simo@redhat.com>
2020-07-24 15:32:42 -04:00
Tomas Kopecek
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Tomas Kopecek
bbd378db61 Koji 1.21.1 release notes
Fixes: https://pagure.io/koji/issue/2294
2020-06-09 11:18:10 +02:00
Tomas Kopecek
94b3b432ed Release notes 1.21
Fixes: https://pagure.io/koji/issue/2118
2020-04-21 14:50:01 +02:00
Tomas Kopecek
e4fa53f8ea 1.20.1 release notes
Fixes: https://pagure.io/koji/issue/2031
2020-03-05 14:02:47 +01:00
Yuming Zhu
0f727a2ab4 flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b flake8: apply E2 rules except E266 2020-03-03 21:38:21 +08:00
Yuming Zhu
97cfaa4fcf flake8: follow E265 rule 2020-03-03 21:35:08 +08:00
Tomas Kopecek
6821560362 koji 1.20 release
Fixes: https://pagure.io/koji/issue/1898
2020-01-20 09:38:10 +01:00
Yu Ming Zhu
63c50c2a31 sort imports for other scripts 2019-12-12 11:00:58 +00:00
Tomas Kopecek
f114816b06 Add koji-gc/kojira/koji-shadow to setup.py
Fixes: https://pagure.io/koji/issue/1403
2019-12-11 09:28:56 +01:00
Tomas Kopecek
e11ad814af make rpm import optional in koji/__init__.py
Fixes: https://pagure.io/koji/issue/1772
2019-11-12 10:03:06 +01:00
Brendan Reilly
3aa1fa2dae 1.19.1 release 2019-11-08 11:53:12 -05:00
Brendan Reilly
fc566e4b31 1.19 release 2019-10-30 09:12:24 -04:00
Mike McLean
af66445883 bump version to match most recent release 2019-10-09 10:42:17 -04:00
Tomas Kopecek
81574e8859 update version for PyPi 2019-08-09 10:12:31 -04:00
Tomas Kopecek
40ce5192dc update setup.py to 1.17 2019-02-20 15:52:06 +01:00
Tomas Kopecek
0ff18ab08a Include CLI plugins in setup.py
Fixes: https://pagure.io/koji/issue/1221
2019-02-20 15:52:06 +01:00
Yuming Zhu
8586a227c6 fix pyOpenSSL dependency for py26 in setup.py 2019-01-28 06:16:35 -05:00
Tomas Kopecek
7f6b717eb6 python-modernize -f libmodernize.fixes.fix_import 2018-07-11 17:37:39 -04:00
Tomas Kopecek
151aaa699d Update setup.py to 1.16 release 2018-05-04 15:19:58 -04:00
Tomas Kopecek
4a15407cdb drop pycurl dependency 2018-02-05 15:54:18 +01:00
Tomas Kopecek
022e4e157f update to 1.15 version 2017-12-08 09:57:47 -05:00
Tomas Kopecek
d4d426c41a use rpm-py-installer 2017-12-08 09:57:47 -05:00
Tomas Kopecek
db7b4c0e74 update setup.py for 1.14
Related: https://pagure.io/koji/issue/458
2017-12-08 09:57:47 -05:00
Pavol Babincak
ed020db571 Setuptools support
Currently covers only client-side packages koji, koji.ssl and koji CLI.
2017-12-08 09:57:47 -05:00