Library for Gerrit
Go to file
Jeremy Stanley 9ae9f7936e Pin python requests when installing docker-compose
New urllib3 and python requests break python docker-compose. Pin
requests back which should use an older urllib3. Hopefully this
fixes docker-compose.

Note this should probably only be used as a temporary workaround. A
more permanent fix should change the way we install docker-compose.

Also stop relying on six since it's no longer available and we
dropped Python 2.7 support quite some time back anyway.

Clean up some things in tox.ini which regressed in Tox v4.

Co-Authored-By: Clark Boylan <cboylan@sapwetik.org>
Change-Id: I69a7ba09f737130a403f0657708877ce986f751c
2023-05-19 13:42:55 +00:00
doc Add support for TCP keep alive in gerritlib 2020-09-09 17:45:39 -07:00
gerritlib Pin python requests when installing docker-compose 2023-05-19 13:42:55 +00:00
playbooks/jeepyb-integration Pin python requests when installing docker-compose 2023-05-19 13:42:55 +00:00
tools Drop Python < 3.8, add Python 3.10 testing 2022-12-01 12:22:10 +11:00
.gitignore Update documentation 2021-01-04 22:19:38 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:01 +00:00
.stestr.conf Replace testrepository with stestr 2020-05-20 20:07:15 +01:00
.testr.conf Specify testenv command for tox>=2.5 2016-12-01 20:20:59 +00:00
.zuul.yaml Drop Python < 3.8, add Python 3.10 testing 2022-12-01 12:22:10 +11:00
CONTRIBUTING.rst Update documentation 2021-01-04 22:19:38 -05:00
LICENSE Apply cookiecutter defaults 2014-06-02 18:22:04 +02:00
MANIFEST.in Add integration testing with jeepyb and gerrit 2020-01-28 11:01:01 -08:00
README.rst Update documentation 2021-01-04 22:19:38 -05:00
requirements.txt Pin python requests when installing docker-compose 2023-05-19 13:42:55 +00:00
setup.cfg Drop Python < 3.8, add Python 3.10 testing 2022-12-01 12:22:10 +11:00
setup.py Remove erroneous comment 2013-10-27 18:36:33 -04:00
test-requirements.txt Fix CI setup 2021-10-11 09:20:19 -07:00
tox.ini Pin python requests when installing docker-compose 2023-05-19 13:42:55 +00:00

README.rst

README

Gerritlib is a Python library for interacting with Gerrit. It aims to provide a more conventionally pythonic way of managing a Gerrit instance.

To install:

$ sudo python setup.py install

Online documentation:

Developers

Bug report:

Repository:

Cloning:

git clone https://opendev.org/opendev/gerritlib

Patches are submitted via Gerrit at:

Please do not submit GitHub pull requests, they will be automatically closed.

More details on how you can contribute is available at:

Writing a patch

We ask that all code submissions be pep8 and pyflakes clean. The easiest way to do that is to run tox before submitting code for review in Gerrit. It will run pep8 and pyflakes in the same manner as the automated test suite that will run on proposed patchsets.

Installing without setup.py

Then install the required python packages using pip:

$ sudo pip install gerritlib