Skip to content

Commit

Permalink
feat: support python 3.12 (#225)
Browse files Browse the repository at this point in the history
* feat: add 3.12 to ci
* chore: add setuptools dep
* chore: try to stop double-ci
* docs: update python version info
* chore: bump version to 9.1.0
* update setup.py supported versions
  • Loading branch information
llimllib authored Mar 9, 2024
1 parent 5a0e28e commit e396d56
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Python application

on:
- push
- pull_request

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Contributions will be considered and may be accepted, you may want to [email me]

## Python Versions

At the moment, this software only officially supports python 3.10, because the test fixtures fail on older versions of python due to some weird urllib3 inconsistency.
At the moment, this software only officially supports python >=3.10, because the test fixtures fail on older versions of python due to an urllib3 inconsistency I don't understand.

It may run on other versions of python, but for the moment they're unfortunately not tested.
It should still run on other versions of python, but for the moment they're unfortunately not tested.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion limbo/limbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from .server import LimboServer
from .fakeserver import FakeServer

VERSION = "9.0.0"
VERSION = "9.1.0"

CURDIR = os.path.abspath(os.path.dirname(__file__))
DIR = functools.partial(os.path.join, CURDIR)
Expand Down
1 change: 1 addition & 0 deletions requirements-to-freeze.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ pyfiglet

#slack
websocket-client
setuptools
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ beautifulsoup4==4.12.3
certifi==2024.2.2
charset-normalizer==3.3.2
coverage==7.4.3
exceptiongroup==1.2.0
flake8==7.0.0
html5lib==1.1
idna==3.6
Expand All @@ -18,9 +17,9 @@ pytest==8.1.1
pytest-cov==4.1.0
PyYAML==6.0.1
requests==2.31.0
setuptools==69.1.1
six==1.16.0
soupsieve==2.5
tomli==2.0.1
urllib3==2.2.1
vcrpy==6.0.1
webencodings==0.5.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3.12",
],
keywords="slack chatbot chat limbo",
)

0 comments on commit e396d56

Please sign in to comment.