Commit Graph

96 Commits

Author SHA1 Message Date
Ghanshyam Mann 7811687769 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I303a0fbe36a1ca7ae7b9b6e82972da3107f58d0c
2024-01-11 16:18:27 -08:00
Ghanshyam c6e57cf2a1 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 481936a822.

Keeping Python 3.10 in setup.cfg classifier.

Reason for revert:

Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

TC has been discussing about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

While governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more project/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

Change-Id: I8b17440c9d36b36fe50183e61d6f1c22ece6d3d4
2023-05-05 18:55:51 +00:00
Hervé Beraud 481936a822 Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: I0cb0d4e03858a4f394aed484508b305683ce7863
2023-04-10 13:22:48 +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
Hervé Beraud 3f889d5b6e Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Change-Id: I859aa7c5d73cb492870c5699c6f8c96b5d36839e
2022-05-05 16:14:59 +02:00
dengzhaosen ff96dc674b Update python testing classifier
Update python testing classifier

Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I42c52cc13abeb14957676b47ce1b1b52799d499b
2021-12-21 17:43:42 +08:00
YuehuiLei 61a1b87e06 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I3153ad314a4c3ca68367e543a3ba2c581b49ea79
2021-04-30 15:42:44 +08:00
Ghanshyam Mann e42c73343f [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:
- Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40207

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>

Change-Id: I978482f860a766c474944c77e2c569541f4849b1
2020-09-06 00:53:30 +00:00
melissaml 05c90f5d9d Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I8d86954ea4cb02f03ad8477e8380a9edaef3440b
2020-05-15 11:42:02 +08:00
Sean McGinnis 706f299ac7
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I2826ded6a4be7507fc61e68fe6d9204682382252
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:12 -05:00
Hervé Beraud aba1098b7e [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

Complete discussion & schedule can be found in
-
http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I02e2d11d38d2aa4182e8d466519b99f05943701f
2020-02-03 18:33:11 +01:00
Corey Bryant db780378d2 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ie47812bec5284d447a2f9c339a5b29d49d83ab53
Story: #2005924
Task: #34234
2019-08-09 22:48:06 +00:00
Ghanshyam Mann 2f8250f3f7 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Iba00d9fadaf3a682f3e4bb2dea335dfc74cf030d
2019-05-30 13:39:24 +00:00
Stephen Finucane 05ddd9fc9e docs: Use sphinxcontrib.apidoc for building API docs
Gets us away from the old pbr functionality.

Some cleanup of tox.ini is included along the way.

Change-Id: Ia228f8ee49f31f88fa2a66f2aad3a3921c41a785
2019-05-21 08:50:29 +00:00
Ben Nemec 57333e902a Bump psycopg lower-constraint to 2.7
Earlier versions don't work with postgresql 10, which is now showing
up in distros.

Change-Id: I56589eb4ac55bec426d16f355398720f2994edcb
Closes-Bug: 1821400
2019-03-22 19:34:32 +00:00
ZhongShengping f1be3e74a6 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I773a629ab2fb8273004da92a217cd09f39132108
2018-12-05 09:38:17 +08:00
Hervé Beraud 67b02d047a Always build universal wheels
All of our projects are pure python, so we can build
universal wheels by default.

Change-Id: Ifbba76848c79be9415c7305f90d020973d3bb116
2018-10-09 15:52:22 +02:00
Monty Taylor 621332cf36
Remove tox_install.sh and align constraints consumption
As part of removing reliance on the old and deprecated zuul-cloner,
we need to shift constraints declaration to the deps line. This
means we unfortunately have to duplicate the extras declarations
into test-requirements - because otherwise the contraints for
oslo.db conflicts with the installation of itself.

Change-Id: I2b79444a58a9144993131f9cba7494b236d9e950
2018-03-08 09:46:24 -06:00
OpenStack Proposal Bot c00824a26d Updated from global requirements
Change-Id: Id81f2a3321d563d35614fa0476a0743a982b88fc
2018-01-16 04:26:50 +00:00
OpenStack Proposal Bot 1206f0a8e7 Updated from global requirements
Change-Id: If88f56583b502ec55cec9a7ab275afa29c64418a
2018-01-04 10:47:07 +00:00
ChangBo Guo(gcb) 83a32d33c2 add bandit to pep8 job
Add the bandit security scanner to the pep8 job.
* convert assert statement to raise AssertionError
* skip B311,B105

Change-Id: I23b2732791f42adfa04bd64f02b25cbdb98aaf93
2017-12-22 10:10:59 +08:00
ChangBo Guo(gcb) 4f81c41994 Use the new PTI for document build
For compliance with the Project Testing Interface as described in:

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

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Iba311cc69ec5272d8beb433e3589c53f371d5d0a
2017-12-19 14:41:22 +08:00
OpenStack Proposal Bot af8b11c4a1 Updated from global requirements
Change-Id: I9a33ba3daae966ff7ef0f3ccd15153b218e5c7ca
2017-11-16 11:21:11 +00:00
Zuul 4ebb0c69ca Merge "Drop MySQL-python dependency from oslo.db" 2017-11-15 16:13:32 +00:00
OpenStack Proposal Bot 34e4c4e2a8 Updated from global requirements
Change-Id: Ibf8fc942cea8cf1da28dabdca0a83b92be01ce7e
2017-11-03 01:24:10 +00:00
Dirk Mueller 48d5380f2e Drop MySQL-python dependency from oslo.db
In order to fade out MySQL-python from OpenStack we need to stop
testing it. Add release notes entry and adjust documentation
references accordingly.

Depends-On: Ie1f07062ed18350bcbb9e7b5e33c7ab2390be9ab
Change-Id: Ie17f4543fa3d72b507d88d2c4023a9a5a430419e
2017-10-17 07:17:06 +02:00
OpenStack Proposal Bot 28bbcd4224 Updated from global requirements
Change-Id: I15095b7a75d240197dc6135ddae69f05e91897c7
2017-10-15 17:07:26 +00:00
OpenStack Proposal Bot 5e0e0979b5 Updated from global requirements
Change-Id: Iad5cb53a0ff45e86b1dafa863fab904f34516a75
2017-09-20 16:22:55 +00:00
OpenStack Proposal Bot 731955009d Updated from global requirements
Change-Id: I92f8c0cdffb512d154d0c1371a48c25dd2a3d44c
2017-09-11 21:46:59 +00:00
OpenStack Proposal Bot 338b39dc5c Updated from global requirements
Change-Id: I91e770e8ca54bdf8d8da40d4815ef860f12121be
2017-08-18 11:39:57 +00:00
OpenStack Proposal Bot 681428180c Updated from global requirements
Change-Id: I7f3f9700f02f4d38b18f6d75f2fd33299451e5cb
2017-07-27 19:19:30 +00:00
ChangBo Guo(gcb) 8501b2d59f Update URLs according to document migration
* update setup.cfg with right document links
* update HACKING.rst with latest link for hacking

Change-Id: I8eb294c1d734f9c76951e4b4b9ebb0f69183f8f3
2017-07-11 22:28:01 +08:00
Dong Ma 0a035933c8 turn on warning-is-error in doc build
Change-Id: I0b64c644f40a2da3242274194d1a5d2858813c25
2017-07-03 11:28:14 +00:00
Dong Ma bd35a6e841 switch from oslosphinx to openstackdocstheme
Change-Id: I66319c2b4e4ec4c10133151f7a867bdca7a3afa8
2017-07-01 08:51:47 +08:00
Dong Ma fe64db1d45 rearrange content to fit the new standard layout
Change-Id: Idaa0dde5e4fd14213ae1611560897a27e9f72514
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-07-01 01:08:19 +08:00
OpenStack Proposal Bot d17be6e20c Updated from global requirements
Change-Id: Ib8b85d5867ca2f732a0c64af847fa77310b72948
2017-06-29 02:26:47 +00:00
OpenStack Proposal Bot 0f03f32cda Updated from global requirements
Change-Id: I235056994f9fce034dca8cea5f800656f5f80f89
2017-06-10 13:35:18 +00:00
OpenStack Proposal Bot c530395730 Updated from global requirements
Change-Id: I60df9099961cb5cfd97499ecbdec556cdb1f6048
2017-06-02 22:05:11 +00:00
OpenStack Proposal Bot 952325532e Updated from global requirements
Change-Id: Ica64fbd70c8e9acbed1f74c102f2a84b214fc5ce
2017-05-26 17:27:26 +00:00
Jenkins 6acc24f093 Merge "Move oslo.context to test-requirements" 2017-05-23 12:00:03 +00:00
OpenStack Proposal Bot 7ae3af7d1d Updated from global requirements
Change-Id: Icbdc156d1dd30c5524e38880a794e06b03634baf
2017-05-20 04:43:04 +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 311e8b8441 Updated from global requirements
Change-Id: Ie5929cf12a5547694a1d1a846ab29ce320d3afc3
2017-05-15 00:52:47 +00:00
OpenStack Proposal Bot 06871c69d4 Updated from global requirements
Change-Id: I2a9d0f4ced44c30c6443e613fea2e11b908c5025
2017-03-03 00:03:00 +00:00
Roman Podoliaka 220ddc2f30 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.

Change-Id: Id2d358ffdca998066b41c8178aac81d170f82d3c
Partial-Bug: #1668848
2017-03-02 19:35:05 +02:00
OpenStack Proposal Bot 9f88fc302c Updated from global requirements
Change-Id: Icffd9bb89af60b9e5cdec619f285ea77c5b3f4ab
2017-02-10 09:48:17 +00:00
Eric Brown 053f240b00 Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: Ic2e61f28bc82f64814a528d210d1dee8d79b49e5
2017-01-17 10:25:21 -08:00
OpenStack Proposal Bot 3af223a17e Updated from global requirements
Change-Id: I30a9d74d90479d8d335dd2e1f097b1fcefd53cf8
2016-12-22 19:08:33 +00:00
OpenStack Proposal Bot a82cd38189 Updated from global requirements
Change-Id: I65eb5fad2269e81c74e2a73e8bbd50b2ed8fb539
2016-11-16 00:20:09 +00:00
OpenStack Proposal Bot fa1a08622d Updated from global requirements
Change-Id: Idf8159061ff6ff2eaab88f117b1063661a93aeed
2016-11-04 06:01:28 +00:00