Commit Graph

25 Commits

Author SHA1 Message Date
Ghanshyam Mann 40683ee88d 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: Ie57a968dbba55a44ac23d73453d807e1ea2d4eca
2024-01-11 16:18:20 -08:00
Ghanshyam 5168ccdf01 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 2a3c81225f.

Keeping Python 3.10 in setup.cfg classifier and zuul.yaml changes.

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: I0387859a84a058c2266c59cd6688fd5abc9fc867
2023-05-05 18:53:22 +00:00
Hervé Beraud 2a3c81225f 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: Ic3df6f4d8243ed317679fe5472ecc482067351a8
2023-04-10 12:58:33 +09:00
Hervé Beraud f388eb981d 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)

Also indicates that we support python 3.9.

Change-Id: I9a9e88dc6d0f2ae169c583215372097f808f34b2
2022-05-05 16:15:43 +02:00
Stephen Finucane 3400cc2871 Integrate mypy
oslo.context is pretty small and therefore easy to introduce mypy for.
Minimal type hints are added, along with tox targets to validate things.
We can build on these in the future if we'd like to.

Change-Id: Ie5ab9eedfc89654ac3aa635f4a3ad24409ad23b6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-01-25 15:00:32 +01:00
yangyawei 64842a1d5d 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: I4400fcf1bdcdedfa8dccf806f99ded36660e276e
2021-05-14 15:37:00 +08:00
melissaml 2891d3b8bb Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I0191aab0e89f12c2d1c62f9f35988307ce416e31
2020-05-22 21:02:57 +00:00
Sean McGinnis 94247f7e01
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: I0e7e44d72b851ece75e28556b32f2644669246de
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:12 -05:00
Andreas Jaeger 48811e0331 Don't build universal wheel
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo

Change-Id: If9976d5e6021872abd49f57fba135a1ba7024c7b
2020-04-04 17:32:53 +02:00
pengyuesheng 3017e180f0 Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ie875138bd1b773f460698e1eacc9dab542318e30
Sem-Ver: api-break
2020-01-30 11:43:11 +00:00
Corey Bryant 07f068d8a2 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: Ie166f1623c15891f381fc367b8dd854386efa90a
Story: #2005924
Task: #34234
2019-07-05 14:43:39 -04:00
Ghanshyam Mann bb31794553 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: I1f6f2f930ee55e2d7491858018eaab4058174484
2019-04-15 18:59:18 +00:00
ZhongShengping 0daf01065d 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: Id5de26de244380698d401a5940a412ce631632d5
2018-12-05 09:38:13 +08:00
Hervé Beraud b2b0f2c084 Always build universal wheels
All of our projects are pure python, so we can build
universal wheels by default.

Change-Id: I04791f928c4818119085f207948fee1555978d13
2018-10-05 14:03:29 +02:00
ChangBo Guo(gcb) e86ee74a72 Fix URLs according to document migration
Change-Id: I5e452dfc33c4bdf8f344f6e28ff1fd4a5e049476
2017-07-12 22:46:06 +08:00
Van Hung Pham d0f8de0eb6 Optimize the link address
Update link address to ensure safety and preciseness

Change-Id: Id193a5cefa3220036df69f5ca48aadc7ae02890b
2017-06-13 10:20:56 +07:00
Vu Cong Tuan 7dc7ff1e3d Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html

Change-Id: Idd28d83cb7a015fd610698a9575bc4dd0c3697d2
2017-06-12 08:41:08 +07:00
Eric Brown de75dd0b84 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: I451e64acc01b843c5c7e637fddcbeeb2fe2e98d5
2017-01-09 10:13:16 -08:00
melissaml 93d9a9aee6 Changed the home-page link
Set the correct link for home-page.

Change-Id: I92da5716be187ec53e6c42883a152d7650747f4f
2016-10-16 20:44:53 +08:00
ChangBo Guo(gcb) 932b495077 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I800ad84596d1ff25686516fcf84184ce185cc77a
2016-07-12 15:36:50 +08:00
ChangBo Guo(gcb) ea648c536a Remove python 2.6 classifier
Change-Id: I9957bb9f98c07cf8b1f99063b474fc2b00a54251
2015-11-17 14:12:34 +08:00
Davanum Srinivas 23f81eaa0c Remove support for Python 3.3
Change-Id: Ib695f4dc43f10663b910ca5c1fce15f3f4865ca0
2015-05-10 19:16:37 -04:00
Steve Martinelli 6ac5cc2652 Standardize setup.cfg summary for oslo libs
Rather than repeating the library name, have the summary use proper
names instead.

Change-Id: I882d5af928bd4e0baba376a641e64c576d022c06
2015-04-04 02:02:41 -04:00
Doug Hellmann f6365e37f5 Move out of the oslo namespace package
Move the public API out of oslo.context to oslo_context. Since this
library has not been released, we do not need to retain the old interface
for compatibility.

bp/drop-namespace-packages

Change-Id: I19adf862596abae0b034e81472114093425782f8
2014-11-14 13:52:32 -05:00
Davanum Srinivas 885f545d81 exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00