Commit Graph

30 Commits

Author SHA1 Message Date
Ghanshyam Mann 3b4e09f8cd 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: I8b5ffec9f1622341950e8104795b98b33ccb3a45
2024-01-11 15:36:55 -08:00
Ghanshyam e84db180dc Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 46cb956cf0.

Keeping Python 3.10 in setup.cfg classifier and all zuul.yaml change. 

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: Ib0e5a4e7d3eaf20690d92ad7c68a66108f51f5bf
2023-05-05 18:50:07 +00:00
Takashi Kajinami 46cb956cf0 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: Ibea17ce03a0e4f5ef018afeb934660e0dc1bfc60
2023-04-10 14:47:00 +00:00
Hervé Beraud 73569c8ff0 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: I356f666d481e3514f5806221491171d95ae5789c
2022-05-05 16:16:59 +02:00
wu.shiming b0c8638fd8 Updating python testing classifier as per Yoga testing runtime
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: I85d655b21aad1f7101904a19f1eeae9874319206
2022-02-16 14:56:00 +08:00
Yandong Xuan 977e083c7e setup.cfg: Replace dashes with underscores
Resolves warnings like the following:

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

Change-Id: I172ea38886f6d6ed55eb8ef4337824e075fd1297
2021-04-26 14:43:14 +08:00
melissaml a4028c220c Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I3ef03f6a99fef5612b7211b5ac42336c897c2c13
2020-05-14 18:41:37 +08:00
Sean McGinnis 687d7e7bfd
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: I6e9c6dbae7b5cfed7494d85200a28c9d64351548
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:22:33 -05:00
Andreas Jaeger 141e7e4209 [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

Cleanup setup.cfg as well.

Increase requests version in lower-constraints:
requests>=2.18.0 is needed by oslo.config, which leads to some other
updates...

Change-Id: I09f0da9a59952739dd1575200aa47cc12026264f
2020-02-03 19:51:46 +01:00
Corey Bryant 6bbbfa2cc4 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: I613d3cb6dbe74ebf173a72c7f5a650c8e4494efc
Story: #2005924
Task: #34234
2019-07-05 14:38:32 -04:00
Ghanshyam Mann ebc4ba6b29 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: I3302ddc87ca65500263614925a003fa7de8d1391
2019-04-15 00:47:19 +00:00
Zuul feb4e1aa5a Merge "Change openstack-dev to openstack-discuss" 2019-01-28 01:32:36 +00:00
melissaml c803617bcc Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.
Temporarily adding fix for barbican race condition here to see if this
will fix the gates.

Depends-On: I7b2f088c8cb9f74507313072d901bcedea18fc34
Change-Id: I2ba12329088d548688eb44cdd8edd18db189f83d
2019-01-24 20:44:36 +00:00
Moises Guimaraes de Medeiros 6e03a68c14 Add Castellan Oslo Config Driver.
This driver is an oslo.config backend driver implemented with
Castellan. It extends oslo.config's capabilities by enabling it
to retrieve configuration values from a secret manager behind
Castellan.

Change-Id: Id7cf99bea5788e0a6309461a75eaa8d08d29641b
Signed-off-by: Moises Guimaraes de Medeiros <moguimar@redhat.com>
2019-01-09 23:17:17 +01:00
Davanum Srinivas a972da32a9 Vault based key manager
* Uses https://www.vaultproject.io/ to store/fetch secrets
* All we need is the URL and a Token to talk to the vault server
* tox target "functional-vault" sets up a server in development mode
  and runs functional tests
* Supports both http:// and https:// url(s)
* the https support was tested by setting up a vault server by hand
  (https://gist.github.com/dims/47674cf2c3b0a953df69246c2ea1ff78)
* create_key_pair is the only API that is not implemented

Change-Id: I6436e5841c8e77a7262b4d5aa39201b40a985255
2017-11-13 20:56:34 -05:00
Davanum Srinivas 8980bf7da5 Use Stevedore for better extensions
Since all Oslo library drivers are discoverable via
stevedore, we should use stevedore in Castellan as well.
This will make it easier for folks to write their own
custom drivers. Stevedore uses setuptools entry points
for implementing the common patterns for dynamically
loading extensions.

We add [key_manager]/backend as the new option to set
the custom driver. For a while, we should support the
older values that used to be specified using
[key_manager]/apiclass.

Change-Id: I2610459839806a5591da1efa314dfa52bcfb7cda
2017-08-01 09:01:35 -04:00
Akihiro Motoki eaf2aa6cfe Update the doc URL in the documents
Change-Id: Iad782f20bef65fefe6c47f02810904cb2cdaa2f3
2017-07-11 13:38:04 +00:00
Akihiro Motoki 2d4517c6e2 Enable warning-is-error in doc build
Change-Id: Ia09468333f9c44778f951daad86369f658cd0669
2017-07-05 02:25:50 +09:00
Van Hung Pham 319647d64d Optimize the link address
Update link address to ensure safety and preciseness

Change-Id: I40b1430ef268b7f367e5a808b9544745971969a5
2017-06-12 07:57:59 +00:00
Kiran_totad cad413f2eb removed the older version of python
Change-Id: I8329000b54f289166dc3c366b13230a1a5e58456
2017-03-07 10:39:40 +05:30
dane-fichter 6425562888 Remove tempest plugin from Castellan
In response to the discussion surrounding the
new barbican-tempest-plugin project, we will
contribute our security tempest scenarios there,
not in castellan.

Change-Id: I65655c13deb00e036457dbd68666bcdc598be2b9
2016-11-30 13:25:02 -08:00
dane-fichter 245b2f681a Cookiecutter commit for Security Tempest plugin
This change adds the bare minimum cookiecutter
tempest plugin for the SecurityTempestPlugin. Later
changes will add a key manager client, API tests,
and scenario tests for security functionality.

Blueprint: image-signing-experimental-gate

Change-Id: If20b01771c74a3ec0ee8a3832306b0406334d196
2016-11-07 10:45:51 -08:00
gengchc2 7ba1214f08 Add Python 3.5 classifier and venv for castellan
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: I667af65814350664bb5cd75f79ad3ac1b56130a1
2016-09-05 09:56:34 +08:00
liujiong a7be62aabc Modify the home-page info
Change-Id: I05c8b357059dabae577f4916836ede0e9ae988fb
2016-08-19 21:56:37 +08:00
sonu.kumar 25902e24e2 Remove py26 support from castellan
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: I4db3fb61038377bc96e47ac160a2da1652901a1b
Related-Bug: #1519510
2015-12-16 14:54:55 +05:30
Kaitlin Farr 8a8393de8a Mark castellan as being a universal wheel
Change-Id: Ieafd94cafc7cfd4e106202351d58bf8679f545ce
2015-11-30 00:38:14 -05:00
Michael McCune d768fbc97d refactoring castellan configuration
This change adds a module for listing configuration options and setting
their defaults. It also changes the key manager base class to
incorporate a configuration during creation. By default, the key manager
will continue to use the global CONF object from the oslo.config
package.

For the most part, this change will be backwards compatible. The one
exception is the creation of sample configuration files. Previously,
importing castellan was sufficient to add these options to the global
configuration object. Now, these options will need to be applied by
using the castellan.options.list_opts function, or adding them through
other means, to create sample configuration files. Similar applies for
setting configuration before instantiating a key manager.

changes
* adding castellan.options with list_opts and set_defaults functions
* changing KeyManager abc to include a configuration option to __init__
* changing barbican and not_implemented key managers to accept
  configuration parameters
* adding tests for set_defaults function
* fixing barbican tests to accomodate new configuration parameter
* adding documentation about configuration usage
* adding castellan configs to oslo entry point in setup.cfg
* adding a genconfig target to tox for producing a sample castellan
  configuration file
* adding the sample configuration file to the git ignore
* renaming barbican option api_version to barbican_api_version

Change-Id: I86d6d7d49a893beaae6f311060ec593e0482d889
Implements: blueprint improved-configuration-options
2015-08-12 12:03:36 -04:00
Kaitlin Farr 573235913f Add functional tests for Barbican key manager wrapper
Creates the initial functional testing infrastructure for Castellan.
Functional tests are run using:
    tox -e functional
The Barbican wrapper tests require running local Barbican and Keystone
instances.
The functional testing config parameters can be overwritten by creating a
config file at /etc/castellan/castellan-functional.conf. A sample config
can be generated using:
    tox -e genconfig
The generated sample config can be found at etc/castellan/castellan-functional.conf

Implements: blueprint add-barbican-key-manager
Change-Id: Ideb9b1f01e51d85ff56575d8ab6ac970053a9604
2015-07-23 14:27:20 +00:00
Douglas Mendizábal b11eb019c8 Remove Python 3.3 from setup.cfg and tox.ini
OpenStack only tests for 3.4 support at the gate, so we cannot guarantee
compatibility with a version that is not gated.

Change-Id: I5febe882d175403ecd1a4ecbe615c050808258ef
2015-03-19 11:27:14 -05:00
Douglas Mendizábal 93eb3a9f16 Initial Cookiecutter Commit. 2014-11-20 15:39:45 -06:00