Commit Graph

11 Commits

Author SHA1 Message Date
Ghanshyam Mann 415a54249b Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I3f6d03ce43d5b7d3852d08f8ba91b8dd9023c744
2022-04-30 20:20:15 -05:00
Michał Dulko af5e340e8e Fixing lower constraints
Change-Id: I483bf934edf9cf9e5529463314cdd6b3fb886988
2022-03-14 11:28:26 +01:00
wu.shiming 78c31d3b7e Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).

more info: https://github.com/openstack/requirements/blob/master/blacklist.txt

Change-Id: I817c9a6b4e61bc50340dbdabcdd91b1bfb8aa04a
2020-09-29 17:41:45 +08:00
Michał Dulko 2559722a72 Fix pep8 and lower-constraints gates
PEP8 needs upgrade of hacking version and lower-constraints require us
to start having stuff supporting Python 3.8 in lower-constraints.txt.
Both are fixed by this commit.

Change-Id: I1d0b244f98dbe2228edfcc0caae70b43013a18ad
2020-09-11 16:10:34 +02:00
gugug d3a2fae486 Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I273fee5b36e9bb57e3120597314176e0eac17a78
2020-08-27 23:10:32 +08:00
Stephen Finucane 78737f6eb9 requirements: Drop os-testr
This has been replaced by stestr for some time.

Change-Id: Ifd0ad4129305766b0378dca33a2ff3c767dc5fe1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-07-09 11:29:41 +01:00
Hervé Beraud 178fae8b30 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I29f0c4b67096dcf089537fa9282ec568f69da66a
2020-06-09 01:18:53 +02:00
Andreas Jaeger 8aeaf7e98e Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I9845c13f4d87c755c56922d3a7fba9a8adfbfb18
2020-05-30 18:38:54 +02:00
pengyuesheng adb8076094 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I95aa4478756873eec5f7480ba3ac0e5e4eea0a43
2019-08-01 10:35:53 +08:00
whoami-rajat d75eaff065 Add kuryr-status upgrade check command framework
This adds basic framework for kuryr-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I8af38f087672a390ec8b2b78916315b5a646fcbb
Story: 2003657
Task: 26137
2018-10-23 16:51:51 +05:30
Doug Hellmann 8f77c47c87 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I941682ba1eff26bbfcb0c119deb7479c92d35be2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-15 23:09:20 +00:00