Skip to content

Commit

Permalink
Adds Python 3.12 support (#520)
Browse files Browse the repository at this point in the history
* [mlt] Updates Maltese phonelist.

Due either to bugs or changes in the upstream data, I noticed there was
a very high rate of filtration on Maltese. It seems that [u] was not
included, nor was one of the affricates.

There are still some filtration for "archaic" pronunciations of
[ɣ] for <għ>, which is WAI.

* Changelog

* Adds Python 3.12 support

* project classifers
* tests on CircleCI

* Revert "Adds Python 3.12 support"

This reverts commit e72bc3d.

* Pauses Latin testing in lieu of #514.

* Fixes typo in test_split

* More explicit comments.

* changelog

* Reruns black

* black

* Adds Python 3.12 support

* Changelog

* updates flake8
  • Loading branch information
kylebgorman authored Feb 21, 2024
1 parent d5afdbe commit 6c67627
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
docker:
# Use the latest Python 3.x image from CircleCI that WikiPron supports.
# See: https://circleci.com/developer/images/image/cimg/python
- image: cimg/python:3.11
- image: cimg/python:3.12.1
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
Expand Down Expand Up @@ -95,7 +95,7 @@ workflows:
- twine
matrix:
parameters:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
- build-python-win:
requires:
- flake8
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Unreleased

#### Added

- Adds Python 3.12 support. (\#520)
- Temporarily disables Latin testing in lieu of #514. (\#519)
- Fixed dialect selectors for languages other than Latin. (\#511)
- Moved `wikipron/` directory under `src/` and adjusted package finding. (\#508)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Linguistic",
]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
black==22.10.0
build==0.9.0
flake8==6.0.0
flake8==7.0.0
python-iso639==2022.11.27
mypy==1.1.1
pytest==7.2.0
Expand Down

0 comments on commit 6c67627

Please sign in to comment.