Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann f73cad3277 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: I5c7e56384172751411ecf0394884feda1cfc3a3f
2022-04-30 20:20:09 -05:00
Maysa Macedo e7bc12e5cb Fix lower-constraints job
This commit upgrades versions of kuryr-lib, MarkupSafe and
pyroute, which were required for the new pip resolver.

Change-Id: I214bcb70d05c871dc7e35ce1d0d861911f728650
2021-01-05 22:42:22 -03:00
Hervé Beraud 63e7072a89 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: I264cfc61d6f20ac0842931b793bf72935fdd550d
2020-06-09 01:19:35 +02:00
Zuul a6e231f876 Merge "Remove six" 2020-06-08 13:47:00 +00:00
Zuul 3bd07c557c Merge "Cap jsonschema 3.2.0 as the minimal version" 2020-06-03 16:37:37 +00:00
Andreas Jaeger e544677d39 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.

Disable openstackdocs_auto_name to use 'project' variable as name.

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.

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: If74b848e1f63a0e116737553fec8ab76d63457f5
2020-05-30 18:41:53 +02:00
gugug 075a8cb96b Remove six
We don't need this in a Python 3-only world.

Change-Id: I14ed209a18ab572c073400fabdd28fd639d55240
2020-05-28 00:03:18 +08:00
Hervé Beraud 4cf3d16522 Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ib5308485e50cc076855cc8e1df72b02d208febe1
2020-05-26 21:52:07 +02:00
jacky06 036703c8d4 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I71b869fc509cb46b55b1e88fae20422bcba085f7
2020-05-23 00:03:51 +00:00
Andreas Jaeger bfbaea9749 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I0dbb13d555eb473916ba585c62a0f7433d15afed
2020-04-05 09:21:00 +02:00
Chuck Short 5b31188bd2 Switch to using stestr
According to Openstack summit session [1] stestr
is maintained project to which all Openstack projects should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I93718ec3a72ac560aca4c9c84d1ac6078adbe090
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-07-24 10:36:15 -04:00
Doug Hellmann bf529e0d25 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: I235adfdf373e3693dc5a83a35ae037e157eca6d2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-15 23:49:43 +00:00