Skip to content

Commit

Permalink
ci: drop python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
allisson committed Oct 3, 2023
1 parent 142c352 commit 799b328
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.4.0
hooks:
- id: check-ast
- id: fix-byte-order-marker
Expand All @@ -23,19 +23,19 @@ repos:
- id: absolufy-imports

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
args: ["--overwrite-in-place"]

- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.9.1
hooks:
- id: black
args: ["--line-length=110"]

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 6.1.0
hooks:
- id: flake8
args: ["--max-line-length=110", "--ignore=E203,E501,W503"]
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Simple Rest Client

----

Simple REST client for python 3.7+.
Simple REST client for python 3.8+.


How to install
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Welcome to python-simple-rest-client's documentation!
=====================================================

Simple REST client for python 3.7+, supports sync and asyncio (with httpx) requests
Simple REST client for python 3.8+, supports sync and asyncio (with httpx) requests


Contents
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Install the latest stable release via pip::

pip install simple-rest-client

python-simple-rest-client runs with `Python 3.7+ <https://travis-ci.org/allisson/python-simple-rest-client>`_ .
python-simple-rest-client runs with `Python 3.8+`.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 110
target-version = ['py310']
target-version = ['py311']

[tool.isort]
profile = 'black'
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
httpx>=0.23.0
python-slugify>=6.1.2
python-slugify>=8.0.1
python-status>=1.0.1
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,19 @@ def run(self):
setup(
name="simple-rest-client",
version=version,
description="Simple REST client for python 3.7+",
description="Simple REST client for python 3.8+",
long_description=long_description,
url="https://github.com/allisson/python-simple-rest-client",
author="Allisson Azevedo",
author_email="[email protected]",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
],
keywords="rest client http httpx asyncio",
Expand Down

0 comments on commit 799b328

Please sign in to comment.