diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 09812d3..b768833 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d57bee..221f49a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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"] diff --git a/README.rst b/README.rst index 9098351..83f4422 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ Simple Rest Client ---- -Simple REST client for python 3.7+. +Simple REST client for python 3.8+. How to install diff --git a/docs/index.rst b/docs/index.rst index 3087ccd..c096af3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 diff --git a/docs/installation.rst b/docs/installation.rst index a8aa194..de0279b 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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+ `_ . +python-simple-rest-client runs with `Python 3.8+`. diff --git a/pyproject.toml b/pyproject.toml index f3cfbc2..ab0ca99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 110 -target-version = ['py310'] +target-version = ['py311'] [tool.isort] profile = 'black' diff --git a/requirements.txt b/requirements.txt index 0457d87..5f689c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ httpx>=0.23.0 -python-slugify>=6.1.2 +python-slugify>=8.0.1 python-status>=1.0.1 diff --git a/setup.py b/setup.py index c2f1802..aca4070 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ 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", @@ -54,10 +54,11 @@ def run(self): 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",