Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann 3abe14fa93 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: Ib5364b375daba592af39118131670c5d234ec0cb
2022-05-01 13:03:32 -05:00
Lucian Petrut 954693f5ff Use a separate doc requirements file
As per the OpenStack TC decision [1], the doc requirements should
be listed separately.

This also simplifies the requirements handling. At them moment,
we're facing some issues due to conflicting doc related lower
constraints.

While at it, we're bumping the lower constraints based on Nova's
requirements, dropping indirect dependencies which are very difficult
to maintain.

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ifffbb94c069d58df1dbaa1c5a1681312e8455ae2
2020-12-09 13:56:18 +02:00
Zuul 0d81aded4d Merge "Bump eventlet requirement" 2020-09-18 12:48:32 +00:00
Lucian Petrut 2c068a626c Bump eventlet requirement
eventlet 0.18 is incompatible with Python 3.8, so we'll have
to bump the requirement.

Log: http://paste.openstack.org/raw/798067/

Change-Id: If7ddc29df5c317ecc850dd52bf64cd276d4044f8
2020-09-18 11:56:42 +00:00
wu.shiming 6a10853d40 Remove Babel requirement
Babel is no longer a requirement for OpenStack projects.
we need remove it and save some disk space.

Change-Id: Ibd4789c36ed1dc52ffc43a300a4005542d2a1de3
2020-09-10 18:05:03 +08:00
Ghanshyam Mann 86529bc22f [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40228

Change-Id: I697e1d8099a6d776a5b2f9505a99335931e68067
2020-08-17 14:09:36 +00:00
Hervé Beraud 33036bcc32 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: I54a2fde199c151eee0ca81c0db840609088803ac
2020-06-09 10:58:01 +02:00
Andreas Jaeger 331bf08383 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: I51ed3c145a96259b9439d0ffda4685bff9721177
2020-06-01 16:18:44 +02:00
Ghanshyam Mann 61bf34bc93 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I8abacb64ca67bd3da04b1597b5b860761bd34e7a
2020-05-15 11:17:17 -05:00
Sean McGinnis 8be89e1076
Remove monotonic usage
The monotonic package was needed for monotonic time operations when
running under Python runtimes older than 3.3. Since we now only support
versions higher than this, this third party package requirement can now
be removed.

Change-Id: I809de2f6fe257c80de7c81f9e08499a919f52ff8
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-04 17:23:36 -05:00
Andreas Jaeger bb4934a240 Cleanup py27 support
This repo is now testing only with Python 3, so let's 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
- Update classifiers
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Remove old python compatiblity test code

Change-Id: If7296703fc4848a16dd10d904ba3f49f19054546
2020-04-13 10:12:53 +00:00
Zuul 9a99cd6812 Merge "Update hacking version" 2019-03-25 09:10:07 +00:00
jacky06 ec959ea8bc Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

It's worth noting that the pep8 package has been renamed to
pycodestyle. New hacking packages no longer install the old pep8
package automatically.

Change-Id: Ibbad8b42188ade597d9a3032389e930c2f5fe2d0
2019-03-15 13:12:00 +02:00
Thomas Bechtold b07ba3d6bd Replace testrepository with stestr
Move to stestr. That's what most of the OpenStack projects have done
given that testrepository seems to be unmaintained (last release in
2014[1]).

[1] https://pypi.org/project/testrepository/

Change-Id: I83c2ceb74eb291266b3afa33f49d17db84ee9cde
2019-02-27 19:46:29 +01:00
OpenStack Proposal Bot d8ea451009 Updated from global requirements
Change-Id: I9bc41e9d5bf04dd78816f26ed5cad1555f729eae
2018-08-02 06:57:19 -07:00
Doug Hellmann 90b359d103 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: Ia95aa8f003151cbce870acc54f2053cbcfc6effb
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-05 07:21:46 -04:00