- Dropping py27 as is out of support
- Enable py38 testing, already default python on several distros.
- removes six as a dependency as is no longer needed for pure py3
Change-Id: I1e825073abc6cd55aa2fdc363358f2701152c57b
irc 17.0 requires python >= 3.4 [1] which breaks
our py27 tox job. This caps the package at <17.0
if python<3.4 and requires irc=>17.0 if python>=3.4.
[1] https://pypi.org/project/irc/17.0/
Change-Id: I85f79c7e28dc2d6e8dfbfe96372c192c3d43b3be
Story: 2006736
Task: 37196
Unit tests are failing because we're pulling in uncapped
alembic (by way of oslo.db which is pulled in from subunit2sql).
alembic 1.1.0, released on 2019-8-26, requires SQLAlchemy>=1.1.0
which e-r has capped at <1.1.0.
This removes the capped SQLAlchemy dependency and blacklists the
known bad versions from global-requirements.
Change-Id: Iaca9825ea2f5d75c5151b8a726ba1c0283f6536a
Closes-Bug: #1841964
launchpadlib has an uncapped dependency on keyring and
keyring dropped support for py27 in 19.0.0 so we need to
cap keyring when running py27 unit tests.
Alternatively we could just drop support for py27...
Change-Id: I056c3ba264078d62d1ff0aebd2843be1c0062b1d
Avoids failure by pinning down httplib2 until we get a new release
of lazr-restfulclient.
Change-Id: I1775dcaeaeb69b8e74a3e5cf0d93ed8eb45db2ad
Related-Bug: #1803402
Reverts a workaround that was added back in 2015 due to an dependency
conflict with docutils, which was later fixed.
Change-Id: I7dc3602d8a67cccd35c1ae748229f4393bccc5a5
Story: https://storyboard.openstack.org/#!/story/2000107
The pbr release 2.0.0 is breaking in that it removes the use of
warnerrors in build_sphinux. Hacking <0.11 had a similar issue so
use a newer version of that.
Change-Id: I4b27f38b2962dc70e078b8dbfd23d9df4dc415c3
New IRC irc==15.0.1 got released and causing dependency failures.
Remove the old jaraco pins and let them get installed as needed by
the latest irc version.
Change-Id: Icc980e80ac0074a15bd7f463f43f34a27f327a61
argparse was external in python 2.6 but not anymore, remove it from
requirements. Also, remove python 2.6 classifier from setup.cfg. This
project is not tested with 2.6 anymore.
This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.
Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
new jaraco.itertools==1.6.1 (was 1.5.1) jaraco.collections==1.2 (was 1.1) fail.
Cap these to the minor versions.
Closes-Bug: #1517724
Change-Id: I5a2d9f99899592660ccbc15f646a4978e851a4ae
This reverts commit 87453fe17b.
Reverting because newer pyelasticsearch does not support API roots other
than / which breaks against our root of /elasticsearch. I have pushed
https://github.com/pyelasticsearch/pyelasticsearch/pull/182 upstream to
fix so maybe we can upgrade once that gets in and is released.
Change-Id: I4ba78fac924bf6d2ec8ccda1af6970577c74e6ec
Update to newer version of pyelasticsearch that can take advantage of
the elasticsearch cluster upgrade to 1.7.3.
Change-Id: I4ddd007dc6e199087808a4ecfa10a903fc3f83de
jaraco.functools 1.6 is broken and is pulled in by the irc lib. Use an
older version to avoid the brokenness. Use a real url in the fake
connection url as this is checked for correctness when creating
elasticsearch transport objects.
Change-Id: I41b5868c0c055297bb9ead1ad96486afeed9cce5
Old pbr did some funny things when you tried to install on repos without
tags. Bump the pbr dep so that we get deterministic behavior out of pbr
even without tags.
We should also consider making a tag or two anyways just to get
something under pbr as not everyone may have updated pbr.
Change-Id: I31c97cd81b4fdb75c96fa49d81ed1a757af1060f
This commit adds a new field to the query yaml test_ids which is a
list of test_ids that will be query the subunit2sql db to verify that
at least one of them failed on the failed uuid.
Change-Id: If3668709e3294b5d6bf9e1f082396fbc39c08512
irc commit 0ec844910 fixed the ImportError issue
in 11.1 so uncap and block 11.1 since 11.1.1 is out
now with the fix.
Change-Id: I3f6e6697891bca5e262165bee5a5e3600d10a942
Closes-Bug: #1423431
irc 11.1 was released today and we now
have ImportErrors in the unit test runs
so cap irc until we figure out how to
workaround it or get the bug fixed in irc.
Change-Id: I95602f5d2f1752088b299917db1e05da2e5096ee
Related-Bug: #1423431
The latest release of pyelasticsearch has some backwards
incompatible changes, pin the version until we update
elastic_search to work with the new version.
Change-Id: Ic1c3435b174c8ca5689ac8ccef8287a36fc6ce86
Partial-Bug: #1414805
This commit fixes the coverage job in tox. It relies on pbr to
actually make the coverage calls before and after running the tests.
However, by default pbr assumes the project name in setup.cfg is the
same as the directory containing the source. However that isn't the
case here. This commits corrects this by using the flag to pretend
that package name is the same as the source dir. This change also
sets the correct regex for testr to run the unit tests only, which is
what is needed for the coverage job. The pbr requirement is also
updated to be >=0.8.1 because this is the min version required to
use the option exploited by this patch.
Change-Id: Icea30575538571fe842632901e994be3ac0bbc80
Matches Global Requirements.In the elastic-recheck project pbr version does
not match the global requirements. No require argparse module.
Change-Id: I5f565c882317a992b645be3b578f2d6a78487690
Use dateutil to accept be more flexible in parsing timestamps. A recent
upgrade to ElasticSearch changed the timestamp format to use '+00:00' to
note the timezone instead of 'Z'
Co-Authored-By: Joe Gordon <joe.gordon0@gmail.com>
Change-Id: I11f441ba3bf7ba46c55921352fcc87eb5d1ce3ae
the following adds a new tool to build a web page that will give
us a full list of all the uncategorized failures and their logs.
This gives us a todo list to start building ER queries from.
this will require an infrastructure change to run this on cron to
generate a public page.
it also brings in jinja2 for html templating, which will be useful
for future html generation jobs.
Change-Id: I5114296fbac2cde9c6b0133e2717e1cc28fb631d
And some other fixups around starting the daemon:
* read config file before forking
* add '-d' option to avoid forking
* default pidfile to /var/run/elastic-recheck/elastic-recheck.pid
* add pidfile option to config file
* switch to python-daemon library (which is the version of the
lib that the code was expecting anyway)
* use expanduser in the query file path (to match the rest of the
paths)
Change-Id: I674778ef189cd216a80f74bd449cdc3b12b57a7d
Make repo support 'tox -epep8' as we want this to be the first gating
check.
Don't make any actual code changes, just change setup and add files.
Further work is needed to re-organize the code, but that can be in a
separate patch.