Tomas Kopecek
aefb2ddba7
fix py3 tests compatibility
2019-02-19 17:29:25 -05:00
Tomas Kopecek
7ad2fe348d
enable py3 testing for everything
2019-02-19 17:29:25 -05:00
Tomas Kopecek
a4d41bd078
wrapper function for writing to stdout
2019-02-19 17:29:25 -05:00
Tomas Kopecek
8e41dd6d09
remove sys.exc_clear() in web ui
...
sys.exc_clear() doesn't exist in py3. It also doesn't seem to be really
needed, so it should be safe to drop it.
2019-02-19 17:29:25 -05:00
Tomas Kopecek
051a0d5230
py3 checks file path, so it needs to be non-mocked string
2019-02-19 17:29:25 -05:00
Tomas Kopecek
99e72ead68
Fix unit tests
2019-02-19 17:29:25 -05:00
Mike McLean
5ca71d7add
PR#1220: Fix non-ascii strings in xmlrpc
...
Merges #1220
https://pagure.io/koji/pull-request/1220
Fixes : #1219
https://pagure.io/koji/issue/1219
xmlrpc doesn't encode errors correctly
Fixes : #1202
https://pagure.io/koji/issue/1202
Under python3, ClientSession does not handle sending unicode data well
2019-02-19 12:55:30 -05:00
Mike McLean
0b5a0d691f
only adjust the request encoding on py3
2019-02-19 12:47:00 -05:00
Tomas Kopecek
3e595b0244
Fix non-ascii strings in xmlrpc
...
requests library refuse to upload non-latin-1 strings, convert data to
utf-8 before passing to library.
Fixes: https://pagure.io/koji/issue/1219
2019-02-19 12:47:00 -05:00
Mike McLean
e143da902c
PR#1229: document reason strings in policies
...
Merges #1229
https://pagure.io/koji/pull-request/1229
Fixes : #1228
https://pagure.io/koji/issue/1228
Document reason string in policies
2019-02-19 12:44:39 -05:00
Tomas Kopecek
9162793ded
document reason strings in policies
...
Fixes: https://pagure.io/koji/issue/1228
2019-02-19 12:44:31 -05:00
Mike McLean
584f4cad46
PR#1263: python 3 can't index dict.keys()
...
Merges #1263
https://pagure.io/koji/pull-request/1263
Fixes : #1262
https://pagure.io/koji/issue/1262
Wrong dict.keys() indexing
2019-02-19 12:40:05 -05:00
Tomas Kopecek
8d62b5f197
python 3 can't index dict.keys()
...
Fixes: https://pagure.io/koji/issue/1262
2019-02-19 11:18:06 +01:00
Mike McLean
a34d50e46d
PR#1235: fix weak deps handling in rpminfo web page
...
Merges #1235
https://pagure.io/koji/pull-request/1235
Fixes : #1234
https://pagure.io/koji/issue/1234
Web ui rpminfo is broken due to changes in weak deps handling
2019-02-18 16:04:13 -05:00
Tomas Kopecek
d368322fb6
fix weak deps handling in rpminfo web page
...
PR #965 (commit ef998c6 ) changed way, how weak reference support is
detected in rpm. As a result, web page rpminfo is failing due to missing
variable.
Fixes: https://pagure.io/koji/issue/1234
2019-02-18 15:32:59 -05:00
Mike McLean
9728c08003
PR#1251: fix race-condition with librepo temp directories
...
Merges #1251
https://pagure.io/koji/pull-request/1251
Fixes : #1250
https://pagure.io/koji/issue/1250
librepo race-condition
2019-02-18 14:50:18 -05:00
Tomas Kopecek
b78c1b42aa
fix race-condition with librepo temp directories
...
Same directory is used for all librepo uses. It should be done inside
mock directory.
Fixes: https://pagure.io/koji/issue/1250
2019-02-18 14:50:05 -05:00
Mike McLean
dc7b367b11
PR#1245: organize python 2/3 cases in spec file
...
Merges #1245
https://pagure.io/koji/pull-request/1245
2019-02-18 14:42:05 -05:00
Mike McLean
79c3b679eb
keep config in koji-web package
2019-02-17 22:54:32 -05:00
Mike McLean
3998d6d486
manually trigger extra byte compilation
2019-02-17 22:33:52 -05:00
Tomas Kopecek
f6125e2a03
handle byte-compiling for fedora
2019-02-17 22:33:52 -05:00
Tomas Kopecek
fd9ab03df1
remove qpid requires
2019-02-17 22:33:52 -05:00
Mike McLean
e0207c6ce8
vm and utils subpackages for py3 too
2019-02-17 22:33:52 -05:00
Mike McLean
1b8763b449
more readable sed expression
2019-02-17 22:33:52 -05:00
Mike McLean
f869f08042
builder-plugins can include pycache now
2019-02-17 22:33:52 -05:00
Mike McLean
b976e222fc
force python3 if that's all we're building
2019-02-17 22:33:52 -05:00
Mike McLean
3703c24495
add KOJI_MINIMAL flag to plugins Makefile
2019-02-17 22:33:52 -05:00
Mike McLean
6e57936e95
stop blocking py3 builder plugins in Makefile
2019-02-17 22:33:52 -05:00
Mike McLean
56f9d38e3e
builder-plugins not py2 only anymore
2019-02-17 22:33:52 -05:00
Mike McLean
fb29b5f580
no koji-utils for py3 yet
2019-02-17 22:33:52 -05:00
Mike McLean
f24835bc76
reverse distro check order and correctly handle null case
2019-02-17 22:33:52 -05:00
Mike McLean
712b5af825
refactor the py2/py3 macro flags
2019-02-17 22:33:52 -05:00
Mike McLean
09b33a435c
PR#1231: remove unused directory
...
Merges #1231
https://pagure.io/koji/pull-request/1231
Fixes : #1195
https://pagure.io/koji/issue/1195
document /usr/libexec/koji-hub or remove it
2019-02-17 21:39:57 -05:00
Tomas Kopecek
7f05b0429f
remove unused directory
...
rpmdiff script was moved to koji-tools project some time ago and is no
more part of this rpm. Directory has no use now, so this commit is
removing it.
Fixes: https://pagure.io/koji/issue/1195
2019-02-17 21:38:45 -05:00
Mike McLean
4f56113c76
PR#1248: use six move for email.MIMEText
...
Merges #1248
https://pagure.io/koji/pull-request/1248
Fixes : #1247
https://pagure.io/koji/issue/1247
koji-gc missing six.moves for email.MIMEText
2019-02-17 21:32:15 -05:00
Tomas Kopecek
22afd92760
use six move for email.MIMEText
...
Fixes: https://pagure.io/koji/issue/1247
2019-02-17 21:32:08 -05:00
Mike McLean
8813d28409
PR#1150: using ConfigParser.read_file for PY3
...
Merges #1150
https://pagure.io/koji/pull-request/1150
Fixes : #1075
https://pagure.io/koji/issue/1075
Deprecation warning on Python 3.7
2019-02-17 21:26:20 -05:00
Yu Ming Zhu
dc208d0555
fix invokings and unittests
2019-02-17 21:26:13 -05:00
Mike McLean
b0c8f817fe
drop parser option in favor of raw option
2019-02-17 21:26:13 -05:00
Yuming Zhu
eaa1b8694b
docstring for read_config_files
2019-02-17 21:26:13 -05:00
Yu Ming Zhu
9ddae41877
using ConfigParser.read_file for PY3
2019-02-17 21:26:13 -05:00
Mike McLean
8cc1c93dc2
PR#1249: more detailed help for block-group-pkg
...
Merges #1249
https://pagure.io/koji/pull-request/1249
2019-02-17 21:05:32 -05:00
Mike McLean
bec51bb2e0
adjust grammar
2019-02-17 21:03:37 -05:00
Tomas Kopecek
fb7e9c1743
more detailed help for block-group-pkg
2019-02-13 13:49:24 +01:00
Mike McLean
4ad8a0ec28
PR#1117: python3 kojid
...
Merges #1117
https://pagure.io/koji/pull-request/1117
Fixes : #1116
https://pagure.io/koji/issue/1116
Python3 builder
2019-02-12 16:27:03 -05:00
Mike McLean
c2322e4f26
note origin of koji.arch and chmod -x the lib
2019-02-12 16:24:13 -05:00
Mike McLean
90700a65a5
fix unit test for localPath test
2019-02-12 16:11:27 -05:00
Mike McLean
5f15ff218b
drop dnf from yum handler
2019-02-12 16:09:20 -05:00
Tomas Kopecek
35ff06e040
spec change for default py3 kojid
2019-02-12 16:09:20 -05:00
Tomas Kopecek
ca86a8fa78
fix xmlrpc encoding error
2019-02-12 16:09:19 -05:00