Commit graph

27 commits

Author SHA1 Message Date
Tomas Kopecek
6e1ae7231e replace deprecated distutils
distutils will get removed in python 3.12. It is usage is now replaced
by sysconfig. For py2 version code stays in specfile.

https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated

Related: https://pagure.io/koji/issue/3514
2023-01-16 12:36:04 +01:00
Tomas Kopecek
8902675489 further changes 2022-12-08 09:57:35 +01:00
Tomas Kopecek
a371c76128 update dockerfiles
Fedora 33 is no longer supported, added centos8/9 stream, f35, f36
2022-04-28 11:06:06 +02:00
Jana Cupova
22c5e8dad6 Drop RHEL6 references
Fixes: https://pagure.io/koji/issue/3165
2021-12-10 13:55:26 +01:00
Jana Cupova
c310d6692d Pytest instead of nose in unittest
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Ken Dreyer
4a440297ef devtools: print fakeweb listening URL
Show the user the full URL to paste into the browser.
2021-11-23 09:24:09 +01:00
Tomas Kopecek
d9a49f7ba0 dev: use CentOS/Fedora registries for containers 2021-06-09 11:23:57 +02:00
Tomas Kopecek
7c2c9bb0f2 update dockerfiles for f34
Fixes: https://pagure.io/koji/issue/2842
2021-05-03 11:11:19 +02:00
Tomas Kopecek
a81d0659b3 devtools: updated Dockerfiles
Fixes: https://pagure.io/koji/issue/2743
2021-03-11 11:27:57 +01:00
Tomas Kopecek
894b080da1 devtools in py3 2020-10-06 15:00:23 +02:00
Zack Cerza
8e40334450 Add rpm-devel to fedora container
This allows us to build python2 rpm bindings if necessary.

Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
b379454631 Add koji's python reqs to centos6 docker image
This will allow, but not require, running tests using only RPM-packaged
requirements.

Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Ken Dreyer
dee88a1767 devtools: add instructions for CentOS, podman, and SELinux
Document how to run the CentOS container, and mention the
"--security-opt label=disable" setting when running podman with SELinux
in enforcing mode.
2020-09-08 16:20:19 +02:00
Zack Cerza
36e99825cb rpm-py-installer: Download binaries
Instead of building from source.

Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Zack Cerza
9218a452c3 Add Dockerfiles to aid in testing
Signed-off-by: Zack Cerza <zack@redhat.com>
2020-09-08 16:20:19 +02:00
Yu Ming Zhu
63c50c2a31 sort imports for other scripts 2019-12-12 11:00:58 +00:00
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -04:00
Mike McLean
be2fae90ae move custom xmlrpc marshaller to its own file 2017-08-25 16:48:02 -04:00
Mike McLean
ab48fa80b2 move xmlrpc marshaller into lib and use i8 for large ints 2017-08-25 16:48:02 -04:00
Tomas Kopecek
5f2342de72 python3 compatibility 2017-06-02 18:25:11 -04:00
Mike McLean
5f5e6cdbb6 typo 2017-06-02 18:25:11 -04:00
Mike McLean
b9c2a3f02f fallback to default config if local fakehub/fakeweb config missing 2017-06-02 18:25:11 -04:00
Mike McLean
1a3ac059a2 devtools sample configs 2017-06-02 18:25:11 -04:00
Mike McLean
938a53a32c fakehub devel tool 2017-06-02 18:25:11 -04:00
Mike McLean
93007baedf cleanup 2017-06-02 18:25:11 -04:00
Mike McLean
952c11477b fakeweb: handle 404 for koji-static. fix mimetypes 2017-06-02 18:25:11 -04:00
Mike McLean
1f9543123c fakeweb tool for devel 2017-06-02 18:25:11 -04:00