Skip to content

Commit

Permalink
Fix #202 Update python versions -3.8, +3.13 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmami authored Oct 24, 2024
1 parent 435d3a8 commit 3fd4d3a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.9"
- name: Install Hatch
run: pipx install hatch
- name: Lint
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.9"
- name: Install Hatch
run: pipx install hatch
- name: Lint
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: "3.9"
- name: Install Hatch
run: pipx install hatch
- name: Build and publish
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## [Unreleased][unreleased]

## Python Support

* Removed support for Python 3.8 ([#202])
* Added support for Python 3.13 ([#202])

## Maintenance

* Switched packaging from flit to Hatch ([#201])


## [v0.9.5]

Expand Down Expand Up @@ -643,3 +652,5 @@ abandoned, but this is an entirely new codebase.
[#181]: https://github.com/goodmami/wn/issues/181
[#191]: https://github.com/goodmami/wn/issues/191
[#194]: https://github.com/goodmami/wn/issues/194
[#201]: https://github.com/goodmami/wn/issues/201
[#202]: https://github.com/goodmami/wn/issues/202
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ you have installed, and possibly the platform (Linux, Windows, macOS)
you're on. Please give a minimal working example that illustrates the
problem. For example:

> I'm using Wn 0.7.0 with Python 3.8 on Linux and [description of
> I'm using Wn 0.9.5 with Python 3.11 on Linux and [description of
> problem...]. Here's what I have tried:
>
> ```pycon
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ['version']
name = "wn"
description = "Wordnet interface library"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["wordnet", "interlingual", "linguistics", "language", "library"]
authors = [
Expand All @@ -22,11 +22,11 @@ classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
Expand Down Expand Up @@ -81,7 +81,7 @@ build = "make -C docs html"
clean = "make -C docs clean"

[tool.ruff]
target-version = "py38"
target-version = "py39"
line-length = 88

[tool.ruff.lint]
Expand Down

0 comments on commit 3fd4d3a

Please sign in to comment.