Skip to content

Commit

Permalink
Add python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
IdoKendo committed Oct 25, 2022
1 parent 0dba935 commit a3031a4
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ repos:
rev: v3.8.2
hooks:
- id: reorder-python-imports
args: [--application-directories=.src/, --py38-plus]
args: [--application-directories=.src/, --py310-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.2
hooks:
- id: pyupgrade
args: [--py310-plus]
args: [--py311-plus]
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

2022-10-25
==========

Added
-----

- Support for Python 3.11.

Changed
-------

- Tidied up the tox and GH actions stages
- Updated pyproject.toml to new poetry group depdendencies
- Updated depdendencies

2022-08-03
==========

Expand Down
4 changes: 0 additions & 4 deletions changelog.d/20220810_113552_ryuusuke.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.d/20221025_132754_ryuusuke.rst

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mysql-context-manager"
version = "0.1.4"
version = "0.1.5"
description = "Work with MySQL databases asynchronously, and in context."
license = "MIT"
authors = ["IdoKendo <ryuusuke@gmail.com>"]
Expand Down
2 changes: 1 addition & 1 deletion src/mysql_context_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=C0114,C0115,R0913
from __future__ import annotations

__version__ = "0.1.4"
__version__ = "0.1.5"

import json
from json import JSONDecodeError
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mysql_context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def test_version():
assert __version__ == "0.1.4"
assert __version__ == "0.1.5"


def test_connection_string():
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py38,
py39,
py310,
py311,
lint,

[testenv]
Expand All @@ -30,4 +31,5 @@ commands =
python =
3.8: py38
3.9: py39
3.10: py310, lint
3.10: py310
3.11: py311, lint

0 comments on commit a3031a4

Please sign in to comment.