Skip to content

Commit

Permalink
feat: update Python versions (#138)
Browse files Browse the repository at this point in the history
This PR drops the support for Python 3.6 and
adds support for Python 3.10.
  • Loading branch information
pyrooka authored Feb 25, 2022
1 parent ab20343 commit a8c201e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ language: python

matrix:
include:
- python: 3.6
- python: 3.7
- python: 3.8
- python: 3.9

- python: 3.10

cache: pip3

before_install:
Expand Down Expand Up @@ -36,13 +36,13 @@ deploy:
script: npx semantic-release
skip_cleanup: true
on:
python: '3.6'
python: '3.7'
branch: main
- provider: pypi
user: $PYPI_USER
password: $PYPI_TOKEN
repository: https://upload.pypi.org/legacy
skip_cleanup: true
on:
python: '3.6'
python: '3.7'
tags: true
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you want to contribute to the repository, here's a quick guide:
* Only use spaces for indentation.
* Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
* Check for unnecessary whitespace with `git diff --check` before committing.
* Make sure your code supports Python 3.5, 3.6, and 3.7. You can use `pyenv` and `tox` for this
* Make sure your code supports Python 3.7, 3.8, 3.9 and 3.10. You can use `pyenv` and `tox` for this
1. Make the test pass
1. Check code coverage. Add tests for all new functionality and ensure overall coverage does not decrease.
1. Commit your changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This project contains core functionality required by Python code generated by th
(openapi-sdkgen).

# Python Version
The current minimum Python version supported is 3.6.
The current minimum Python version supported is 3.7.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ def run_tests(self):
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
Expand Down

0 comments on commit a8c201e

Please sign in to comment.