Skip to content

Commit 4e769f0

Browse files
likuistephenfin
andcommitted
Drop support for Python 3.6, 3.7
Python 3.6 and Python 3.7 support has been dropped since Zed [1]. This necessitates changes our jobs to build and publish docker images since those currently use Python 3.6. We now use Python 3.9. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: I228b7ff6691a025f1ba9b7d9449f294868942151 Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
1 parent e49ad17 commit 4e769f0

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.zuul.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
description: Build Docker images.
190190
allowed-projects: openstack/python-openstackclient
191191
requires:
192-
- python-builder-3.7-container-image
193-
- python-base-3.7-container-image
192+
- python-builder-3.9-container-image
193+
- python-base-3.9-container-image
194194
provides: osc-container-image
195195
vars: &osc_image_vars
196196
docker_images:
@@ -203,8 +203,8 @@
203203
description: Build Docker images and upload to Docker Hub.
204204
allowed-projects: openstack/python-openstackclient
205205
requires:
206-
- python-builder-3.7-container-image
207-
- python-base-3.7-container-image
206+
- python-builder-3.9-container-image
207+
- python-base-3.9-container-image
208208
provides: osc-container-image
209209
secrets:
210210
- name: docker_credentials

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
FROM docker.io/opendevorg/python-builder:3.7 as builder
16+
FROM docker.io/opendevorg/python-builder:3.9 as builder
1717

1818
COPY . /tmp/src
1919
RUN assemble
2020

21-
FROM docker.io/opendevorg/python-base:3.7
21+
FROM docker.io/opendevorg/python-base:3.9
2222

2323
COPY --from=builder /output/ /output
2424
RUN /output/install-from-bindep

setup.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description_file =
66
author = OpenStack
77
author_email = openstack-discuss@lists.openstack.org
88
home_page = https://docs.openstack.org/python-openstackclient/latest/
9-
python_requires = >=3.6
9+
python_requires = >=3.8
1010
classifier =
1111
Environment :: OpenStack
1212
Intended Audience :: Information Technology
@@ -15,8 +15,6 @@ classifier =
1515
Operating System :: POSIX :: Linux
1616
Programming Language :: Python
1717
Programming Language :: Python :: 3
18-
Programming Language :: Python :: 3.6
19-
Programming Language :: Python :: 3.7
2018
Programming Language :: Python :: 3.8
2119
Programming Language :: Python :: 3.9
2220

0 commit comments

Comments
 (0)