Commit Graph

21 Commits

Author SHA1 Message Date
Jeremy Stanley 5e9c250ef8 Set SQLAlchemy minimum to 1.4
SQLAlchemy 1.4 is the bridge to support the API required for 2.0
support, so in the wake of I80c007af86cd7102c3c75963ad5b0a051dd9b541
set it as the required minimum version.

Change-Id: I8eb379042d34a60e62131ff631efe4a83c70942e
2024-02-08 21:30:58 +00:00
Matthew Thode 2fe19d5501
update pbr to remove the cap
This matches the rest of openstack and ensures co-installability.

Change-Id: I2febfee7e41a4fb8696f71abb1859673d6b24544
2017-07-29 21:19:48 -05:00
David Shrewsbury 06957db1ed Use diff long options and uncap GitPython
GitPython had a very incompatible change that breaks any call that
uses a single character option (e.g., -U) that requires no space
between the option and the value. So far, this breaks the diff API
where we used the -U option instead of the long option equivalent.
For history:

https://github.com/gitpython-developers/GitPython/issues/382

So far, I've only seen one place where this bites gertty. Since the
GitPython author has stated this will not be reverted or fixed, having
a permanent cap on that library seems harsh as we won't get any other
bug fixes.

This fixes the known/found areas where we are affected.

Change-Id: Iadb279234af2ea01fbff35dc629c01dae5a3195c
2016-03-08 14:09:28 -05:00
James E. Blair b33cbc0a7a Fix diff crash on perm-only changes
The update to GitPython that supports easily detecting the filenames
in file-permissions-only changes merged a year ago.  Start using it
and raise the mininum GitPython version to one which supports it.

Change-Id: I9a5104a4b399dee0d9e029fd0b10e37b8aafd3f8
2016-02-17 11:18:55 -08:00
James E. Blair 75b0be437e Do not use GitPython 1.0.2
https://github.com/gitpython-developers/GitPython/issues/382

Change-Id: I6d9bdaadb82b6702ffb75245f84637f9795d4e02
2016-02-12 07:04:58 -08:00
James E. Blair 46155d86a3 Update PBR requirement to >=0.11
0.11 has a fix for an alembic migration problem that has plagued
Gertty early adopters.  1.0 is out as well and will work, so it
is safe to set the semver cap at 2.0.

Change-Id: I5426fabcfa79e32a9bc1c2c91f10d4f20ff7b913
2015-05-27 09:12:48 -07:00
James E. Blair 4519a9ff87 Add support for SQLAlchemy 1.0.4
This has been released and Gertty works with it.  A subsequent
change will accomodate SQLA 1.0.4-specific behavior.

Change-Id: I864c913354a8e69f0cfc68634c6ce081dce6eb3f
2015-05-26 15:35:10 -07:00
Paul Belanger abfe8013bc Add missing requirement for six
This is needed in dbsupport.py.

Change-Id: I51e7cf9d344e64c267cdc4cedddb6c26f0b8b5a4
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
2015-03-20 09:25:08 -04:00
James E. Blair 712f83fbfa Upgrade to requests 2.5.3
Recent requests were leaking this exception from its vendored copy
of urllib3:

  ProtocolError: ('Connection aborted.', error(101, 'Network is unreachable'))

Update to a version where this is fixed so that we can correctly
detect that and switch to offline mode.

Change-Id: I28a223c0c4a4dd1f9c073e0ddf07985ff52386b2
2015-03-11 09:41:57 -07:00
James E. Blair 5c407d15dc Do not use urwid 1.3.0
This release generally works, however, bright background colors are
broken due to a bug.  The bug is fixed in:

b851b905cb

Which is not released yet, but should appear in 1.3.1 (or later).

Since bright background colors are (by default) used for inline
comments, avoid the use of 1.3.0.  1.2.1 and 1.2.2 work fine.

Change-Id: Ie833d09e4a5a2cc160b4d45d99f7c324a02751eb
2015-01-07 19:27:16 -08:00
Ian Cordasco 8c6a1101d4 Do not use requests 2.5.0
Change-Id: I84714bd4c43efea11ac5cf2ac946b228af4068f8
2014-12-23 11:39:04 -06:00
James E. Blair 66a750d5dc Update alembic requirements
The migrations actually require version 0.6.4 of alembic.

Change-Id: I32814194ab9baa42b090c03543e71fa82d3a5d61
2014-09-09 08:10:39 -07:00
Jenkins cfae35754c Merge "Depend on SQLAlchemy 0.9.4 or greater" 2014-08-01 23:03:57 +00:00
James E. Blair 6181e4f9bf Support (most of) gerrit search syntax
Adds a parser that compiles gerrit search queries into sqlalchemy
filters to support the gerrit search syntax both in arbitrary
searches (ctrl-o) as well as dashboards.

Change-Id: Ibc8e5c180b0ca16727938725cfe6380ba7315205
2014-08-01 15:49:25 -07:00
Robbie Harwood (frozencemetery) aa901d68d5 Depend on SQLAlchemy 0.9.4 or greater
This prevents a nasty traceback and possible database corruption on systems
which have a sqlalchemy installed that is too old (e.g., fedora 20).

Change-Id: I2b60ddb1d50b5913c2cf8e5a848f26720163d47a
Closes-Bug: 123
2014-07-15 11:07:25 -04:00
James E. Blair 39890234c3 Re-add alembic to requirements
This got lost in a rebase.

Change-Id: I97bc41114b76e68444dce4cb162cd6f1078d3d4d
2014-05-30 08:44:22 -07:00
James E. Blair 06ef6e54c2 Change config file to YAML
To support commentlinks, palettes, custom dashboards and other
potential future enhancements, we'll need a config file that can
express complex data structures.  Change from configparser to yaml,
adding dependencies on pyyaml and voluptuous for validation.

Change-Id: I670eed0cee1b15aa35d0fa9aea0996603ae08444
2014-05-27 09:10:23 -07:00
Monty Taylor 4e1fd36c97 Add alembic to requirements
gertty requires it now but does not declare that.

Also, move pbr to the top of the requirements list. Because of how
python requirements and transitive depends, pbr needs to be listed
first or else hijinks can ensue.

Change-Id: I06c14039501c239d6ead1a66ce8fcfaa7453855c
2014-05-27 09:05:07 -07:00
Joshua Harlow 7a71108c60 Add a pbr compatible setup
Add a setup.cfg and setup.py and fill in those files
so that gertty can be installed easily.

Adjust gertty.py to have a main function that
can be referenced as a console entrypoint during
installation.

Also adjusted a bunch of imports that were failing after
installation occurred (but now they should not fail since they
correctly reference the gertty module namespace).

Change-Id: I532ced51583b26300ba9a2efb97f8e41bc69ec8d
2014-05-03 11:54:49 -07:00
Joshua Harlow 8205010884 Add ordereddict requirement
OrderedDict isn't in python 2.6 which is on some
older distros (still), so import the package that
provides it when it can not be found.

Change-Id: I9637d346e85c651e8e242025b9e88b1af3d8fca0
2014-04-29 17:54:46 -07:00
James E. Blair 1d6b0fd881 Initial commit
Change-Id: Ie79f257c46a2c50abdd7ce63bfeceaad976ca878
2014-04-29 16:28:49 -07:00