Commit Graph

110 Commits

Author SHA1 Message Date
Takashi Kajinami 300a41c151 Bump hacking
hacking 3.0.x is too old.

Change-Id: Id95477ce65868e49ea4c1ab1e165f9c69596f5da
2024-01-16 22:24:57 +09:00
Mike Bayer 94d6e24ca1 Remove sqlalchemy-migrate
sqlalchemy-migrate does not support SQLAlchemy 2.x and we're not going
to invest the time in changing this. Remove integration of
sqlalchemy-migrate in oslo.db, allowing us to support SQLAlchemy 2.x
fully.

Note that we do not remove the 'migration_cli' module entirely yet.
While this is deprecated, it is possible to use this with alembic.
New users shouldn't be switching to it, but any existing users can
continue to use this module for some time yet.

Change-Id: Ic3d6bd318038d723b0d50d39e45f8e26289e9a57
Sem-Ver: api-break
2023-03-21 13:59:26 -04:00
Stephen Finucane ad4729d69a requirements: Bump sqlalchemy lower constraint
We've started using sqlalchemy features that were introduced in 1.4,
which means we need to bump our lower constraint. Do this now.

At some point, we probably want to dump all lower-constraint information
from these files since it's no longer maintainable without the
equivalent job. That's a task left to later, however.

Change-Id: I8629225eeb51d95264d8a3e4b719268bb1597f4f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-16 12:24:58 +01:00
Stephen Finucane 1eb03f187a Drop use of six
No need for this in a Python 3-only world.

Change-Id: I8923f2b87c1bd114b8c55210100c7485a0de8f28
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-25 17:33:41 +00:00
Stephen Finucane e4f2020b94 Raise minimum SQLAlchemy version to 1.2.0
Per [1], this is the latest supported version of SQLAlchemy. 1.1.x and
earlier are EOL.

[1] https://www.sqlalchemy.org/download.html#relstatus

Change-Id: I63e4baf772be9ddfb787ac3aff01fcaddf7b901c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-25 15:52:47 +00:00
Mike Bayer 43af1cf083 Remove most server_default comparison logic
Added a new test case that covers comparison of a MySQL server default
defined as text("0") in the model as well as in the database.   The
MySQL default comaprison logic in oslo.db was not accommodating of the
model side here being a text() construct.   As modern Alembic
versions supports most of the use cases tested here,
remove all server defaut comparison logic except for the boolean
comparison workaround.

Alembic minimum is bumped to 0.9.6; the issue repaired between
0.8.10 and 0.9.6 is http://alembic.zzzcomputing.com/en/latest/
changelog.html#change-5459a7552a17d8b658f0f710bedf6da0

Depends-on: I1a8244edae47b04b7b1fed54e577d6534945bcd8
Closes-bug: #1776527
Change-Id: I48a103e28d86128ea84466da4d9d6faab1dd9a9d
2018-06-15 13:31:38 +10:00
Mike Bayer acd1ceb699 Add testresources / testscenarios to requirements.txt
oslo.db is consumed by the test suites of downstream libraries
as a test dependency; they make use of the oslo_db.sqlalchemy.test_fixtures
module which imports testresources and testscenarios, therefore
these are normal requirements of oslo.db; they are not limited
to test requirements.

Change-Id: I240fbc28ddf238614ff37e742a1415a5566bcd2d
Closes-bug: #1756352
2018-03-16 10:35:54 -04:00
OpenStack Proposal Bot 83c1f18099 Updated from global requirements
Change-Id: Ia4e66a804bea3eee74fedc3c5a7f610cb05d9c8c
2018-03-15 07:48:10 +00:00
OpenStack Proposal Bot dca6fe6adf Updated from global requirements
Change-Id: I4ce333c9bdabeba81fc7eb78032aede2336c825d
2017-12-19 01:38:24 +00:00
OpenStack Proposal Bot 23a3293176 Updated from global requirements
Change-Id: Ibbe5b9e729ca53b4367c6470217eb097e1dde2dd
2017-11-29 09:14:51 +00:00
OpenStack Proposal Bot af8b11c4a1 Updated from global requirements
Change-Id: I9a33ba3daae966ff7ef0f3ccd15153b218e5c7ca
2017-11-16 11:21:11 +00:00
OpenStack Proposal Bot 81978164bb Updated from global requirements
Change-Id: I12e83c0ca2309f7204af4208dee292d9d7324e54
2017-11-13 10:26:33 +00:00
OpenStack Proposal Bot 731955009d Updated from global requirements
Change-Id: I92f8c0cdffb512d154d0c1371a48c25dd2a3d44c
2017-09-11 21:46:59 +00:00
OpenStack Proposal Bot fb6d4a7c39 Updated from global requirements
Change-Id: I7d078fd50d41fa3f212109366693088673067a09
2017-06-15 16:32:48 +00:00
OpenStack Proposal Bot 516bb61947 Updated from global requirements
Change-Id: I753aa7c6c22707658ccd48e0bcc3337ab12c9951
2017-06-02 02:34:53 +00:00
OpenStack Proposal Bot c23e571ff5 Updated from global requirements
Change-Id: Iad13d017070007bb3c6eb3b23644b08aa701ebfb
2017-05-23 12:27:25 +00:00
Julien Danjou 2c53ccd943 Move oslo.context to test-requirements
It's actually only used in tests.

Change-Id: Idee419ab60b6395f5f5d0415711e3f02d992fa5f
2017-05-18 23:52:51 +02:00
OpenStack Proposal Bot d5f1f288a4 Updated from global requirements
Change-Id: I38d6365f853eadfc2f488eda92f6fdf8f21a7d88
2017-04-12 04:20:01 +00:00
OpenStack Proposal Bot aa5657ae15 Updated from global requirements
Change-Id: I8194aea148813d0165a4fdfe3f1fa6ee878c240c
2017-04-05 21:09:54 +00:00
OpenStack Proposal Bot ec13f13bc8 Updated from global requirements
Change-Id: Ib0d90cbf6bfee38872e23ff2b8781009ad677d15
2017-03-24 16:34:51 +00:00
OpenStack Proposal Bot 231913a153 Updated from global requirements
Change-Id: Ie77d6c27e999b477bbe233e9d1486dabde05917f
2017-03-13 19:39:53 +00:00
OpenStack Proposal Bot 06871c69d4 Updated from global requirements
Change-Id: I2a9d0f4ced44c30c6443e613fea2e11b908c5025
2017-03-03 00:03:00 +00:00
OpenStack Proposal Bot 9f88fc302c Updated from global requirements
Change-Id: Icffd9bb89af60b9e5cdec619f285ea77c5b3f4ab
2017-02-10 09:48:17 +00:00
OpenStack Proposal Bot fcc794f531 Updated from global requirements
Change-Id: I7a401a55826924858ddc396ce19530b8bda3bcf7
2017-01-21 15:01:42 +00:00
OpenStack Proposal Bot 1458375ed5 Updated from global requirements
Change-Id: I86d5d8f41a6b51faac74d155472379e8bd34cab1
2016-11-09 23:02:58 +00:00
OpenStack Proposal Bot acb28bbaff Updated from global requirements
Change-Id: If4eac84ef561183e083a24e67fb14eb793b34db2
2016-11-06 02:05:43 +00:00
OpenStack Proposal Bot 628a1eec1e Updated from global requirements
Change-Id: Ib8d4e83db6d348e0630e1c60d93424784c20f0a9
2016-10-27 12:21:08 +00:00
OpenStack Proposal Bot cc1b05dc6f Updated from global requirements
Change-Id: I7fe60b8f64209f2e9003313d487f9aaffa22f74e
2016-10-06 17:01:04 +00:00
OpenStack Proposal Bot 87fb9cc841 Updated from global requirements
Change-Id: I6b366e0918baf7b0ef79ffa1d7bfcbf7b74a2b4a
2016-08-24 01:37:25 +00:00
OpenStack Proposal Bot 2862b18313 Updated from global requirements
Change-Id: I785f9994e616c0402370400e8a073a7f1a87161e
2016-08-12 00:24:08 +00:00
OpenStack Proposal Bot 89bc44d2c4 Updated from global requirements
Change-Id: Ida04673890285af9c0b876c61a88693e6851932d
2016-08-08 10:47:00 +00:00
OpenStack Proposal Bot f3d123a34d Updated from global requirements
Change-Id: I32efc2a5a5810f915193ab9a49b5ccad74772f0d
2016-08-04 02:40:40 +00:00
OpenStack Proposal Bot 6bdb99f723 Updated from global requirements
Change-Id: I2ec090174889a9539229cfa3775621b39432db6c
2016-07-29 02:33:49 +00:00
OpenStack Proposal Bot a794790880 Updated from global requirements
Change-Id: Id85521335990acb47f65181724d6bdbf89d11c8b
2016-07-19 15:19:52 +00:00
OpenStack Proposal Bot 5da12af683 Updated from global requirements
Change-Id: I465a02f70301d9927ed8e875b410b22ee3b3d144
2016-07-17 23:58:41 +00:00
OpenStack Proposal Bot fc3c23a722 Updated from global requirements
Change-Id: I3fa7441ceeecbb0af2f7b13046cdb1b339c6dc48
2016-07-09 19:25:48 +00:00
OpenStack Proposal Bot 1d7e7e453b Updated from global requirements
Change-Id: I7b4bc4f920f5e0fb7e26314267542d036942412c
2016-06-30 18:48:18 +00:00
OpenStack Proposal Bot c0005aad95 Updated from global requirements
Change-Id: If14bdc444f893b6f912e847834cd8c0771ef0825
2016-06-08 22:02:57 +00:00
OpenStack Proposal Bot 9b9170fee2 Updated from global requirements
Change-Id: I9f8c241551ecb0eebb9ebc4f379b77ab2e31dc1c
2016-06-03 18:17:55 +00:00
OpenStack Proposal Bot 3ac4f3f2d8 Updated from global requirements
Change-Id: Ia9fc0a54e5c6b9d30be7e051026471f5b0048fd1
2016-05-10 18:41:38 +00:00
OpenStack Proposal Bot 268987f60f Updated from global requirements
Change-Id: I9cefbe40d4406acb2a12aadce9fad28d036ad0de
2016-04-20 00:41:24 +00:00
Joshua Harlow 4afa0ce5df Remove direct dependency on babel
The dependency on oslo.i18n already forces this requirement.

Change-Id: Id54e7d886c2358deb49e45ca8987e9502dc6c6d7
2016-04-19 07:16:01 -04:00
Roman Podoliaka 38167392f6 Add debtcollector to requirements
debtcollector is used by oslo.db at runtime, but is not currently
mentioned in requirements.txt explicitly (which effectively means
it's installed as a transitive dependency now).

This fixes tox -epip-missing-reqs run. A follow up change to
project-config will make sure we run this check in the gate.

Closes-Bug: #1571739

Change-Id: I564030830708da5c8a18f0c8a127ae74d54ead39
2016-04-18 19:41:35 +03:00
OpenStack Proposal Bot 531ed4538f Updated from global requirements
Change-Id: Id429419fda2dcfb98b27d997877dbc42ac87a4e0
2016-04-13 12:47:26 +00:00
OpenStack Proposal Bot 419a42f461 Updated from global requirements
Change-Id: I221b36a6480e7c9c5f65c0c904e95d830e8a6f6e
2016-04-07 17:13:08 +00:00
OpenStack Proposal Bot af0b3d34a7 Updated from global requirements
Change-Id: Id7d7009ea014a70adcdfad2d0456c1a930dcb26b
2016-04-06 04:29:50 +00:00
OpenStack Proposal Bot b45a20b171 Updated from global requirements
Change-Id: I63e2dcda0126d07f45ed7ba68258949376e59c81
2016-04-02 16:16:15 +00:00
OpenStack Proposal Bot 6c9cc588cb Updated from global requirements
Change-Id: If0bf6b0621bca07c25b25105af3a324c80149ddb
2016-02-26 01:52:18 +00:00
OpenStack Proposal Bot a78c2fef7c Updated from global requirements
Change-Id: I122380ae921422083529f892ae28eb628ff802fc
2016-02-20 21:59:29 +00:00
OpenStack Proposal Bot 214e9d7d25 Updated from global requirements
Change-Id: Ie8d50f948f85edf6e8dbafe944e239cfd415dd34
2016-01-26 23:27:50 +00:00