Commit Graph

29 Commits

Author SHA1 Message Date
Takashi Kajinami 589582d6af Bump hacking
hacking 3.0.x is too old.

Change-Id: I00a92adec7f166e4ed6bb6659ed2a230a6262a13
2024-01-27 23:06:21 +09:00
Jimmy McCrory 73b1b09b25 Fix pep8 gate
Update flake8-docstrings requirement.
Ignore missing docstring in __init__ methods.

Change-Id: I966fe3fdc16765795f99e1f5984050baae305849
2023-05-05 08:59:21 -07:00
Wander Way 322e0d753f Remove lower-constraints, uncap PrettyTable
The lower-constraints jobs are timing out, which means we're failing to
find a match for our specified constraints. These jobs are of limited
value so just drop them.

The change to requirements flags the cap we currently enforce on
PrettyTable. This was previously necessary due to requirements enforcing
the same case, but PrettyTable is now maintained as a Jazzband project
[1] and the cap has been removed.

Finally, while we're here, we can cleanup tox.ini somewhat and remove
now unnecessary warnings from the 'requirements.txt' file (this isn't an
issue with pip's new resolver).

[1] https://github.com/jazzband/prettytable

Change-Id: Ib0fad16f3c9b817756996f79c0b0b61f854583a3
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
2021-02-24 14:00:21 +00:00
Andreas Jaeger bbc0e139d5 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_version to not auto-version the documents.

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.

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: I26cabdc85596be44fca36cad2a609b8fca0e50e0
2020-05-30 18:37:12 +02:00
Zuul 8d5c5bcabb Merge "Update hacking for Python3" 2020-04-06 16:15:57 +00:00
Andreas Jaeger be98d6d605 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: I2602377334889d08ea3832a7f115b2937af2aa42
2020-04-05 09:37:51 +02:00
Andreas Jaeger 30fac42e42 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I5f0adcc9fc321848ef93dafc9c2ee2d4061a1cbc
2020-04-02 15:14:57 +02:00
jacky06 732fc6bec7 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Replace git.openstack.org URLs with opendev.org URLs

Change-Id: Id9f496f57acd2d5a388920e6bdebe52c40a98073
2019-06-19 14:40:58 +08:00
Dirk Mueller 71bd15c83c Bump to hacking 1.1.x
This doesn't seem to cause any new linting failures, and newer
is obviously better.

Change-Id: I020192cd92a3d19178d742555b2b9fe47ec2c2a0
2018-07-17 10:52:49 +02:00
Vu Cong Tuan eaa81ffdfc Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

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

Change-Id: Ieca57f7c2e6b2ff5c95f8643985ad760c71e0fc3
2018-07-17 08:17:25 +07:00
OpenStack Proposal Bot 67f650c458 Updated from global requirements
Change-Id: Iacab84adb905e299fcfe55fff2efc6e115a008e6
2018-03-15 07:07:04 +00:00
OpenStack Proposal Bot e9adc6fd03 Updated from global requirements
Change-Id: I7f56debc119649f3cca4c212d7d7e2798315f4f5
2018-01-27 17:48:01 +00:00
OpenStack Proposal Bot 90aaa0831e Updated from global requirements
Change-Id: Ia9561ffa4711336679b8e5b46aa0dfa5c5ead499
2018-01-24 01:58:27 +00:00
OpenStack Proposal Bot 1b962ba7e7 Updated from global requirements
Change-Id: I755d8e29fdc3fa28a98f217d482c1264391952fb
2017-11-16 11:08:50 +00:00
OpenStack Proposal Bot ac73691d23 Updated from global requirements
Change-Id: I2ab0bef5f01b213c1a4784c3215e860c3f3868de
2017-09-22 12:52:55 +00:00
OpenStack Proposal Bot 6e592fe1b4 Updated from global requirements
Change-Id: I58e26ba2a75cc120ae42220cdd9f8f995769aaa4
2017-07-27 19:11:41 +00:00
Van Hung Pham bdfa6d59cc Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I47d858fafd5d57f00cab9d7a4b87950320febf70
2017-06-30 15:37:13 +07:00
OpenStack Proposal Bot 62e08434f8 Updated from global requirements
Change-Id: I66a3cce10c25d92877a9735bd022f3591678c023
2017-05-17 03:49:40 +00:00
OpenStack Proposal Bot 89666baf13 Updated from global requirements
Change-Id: I126f84d400113cd6961ebc50630cc189069a8fe6
2017-04-20 16:18:53 +00:00
Jenkins a607f72dc2 Merge "[Fix gate]Update test requirement" 2017-04-19 21:35:56 +00:00
OpenStack Proposal Bot 3be5ce5bfb Updated from global requirements
Change-Id: I46c49cb556869e99abaf3022858c56cc6d4e8d1d
2017-03-10 03:31:33 +00:00
ricolin 8a41011918 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I2ff5ed75751f3448ff47c4f598d91f65b21ac84d
2017-03-02 19:53:28 +08:00
OpenStack Proposal Bot 38003f190c Updated from global requirements
Change-Id: I5145ef99197f11461d1db0d0fc37f030d1b5305d
2016-10-22 01:20:24 +00:00
OpenStack Proposal Bot b5935fe318 Updated from global requirements
Change-Id: Iaa8b0de37c735f286052a49808fc6ee49c8607c5
2016-09-28 16:54:07 +00:00
OpenStack Proposal Bot 0bcd0b1cc5 Updated from global requirements
Change-Id: Ia29f6c373f2d37b8ca7af22547662c1301698d4f
2016-06-21 18:00:17 +00:00
OpenStack Proposal Bot 4ce78d2332 Updated from global requirements
Change-Id: I16cefcc471afc6c385da68e84bf27b7ff39911d8
2016-05-30 00:34:32 +00:00
OpenStack Proposal Bot 18d77299c6 Updated from global requirements
Change-Id: I09512326aaaee909ce1a204a23ae948f4f2a45d9
2016-05-17 23:35:40 +00:00
Morgan Fainberg a6495a7af0 Add test-requirements for py27 testing
Add the requirements for py27 testing.
2016-05-12 09:24:14 -07:00
Morgan Fainberg ceca46e006 PEP8 fixes
Fix pep8 errors, add appropriate flake8 exceptions.
2016-05-12 09:20:06 -07:00