Skip to content

Commit 3da4e1e

Browse files
committed
Add 3.13; test for issues with CI
1 parent 007cf75 commit 3da4e1e

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

nltk/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# Description of the toolkit, keywords, and the project's primary URL.
5454
__longdescr__ = """\
5555
The Natural Language Toolkit (NLTK) is a Python package for
56-
natural language processing. NLTK requires Python 3.8, 3.9, 3.10, 3.11 or 3.12."""
56+
natural language processing. NLTK requires Python 3.8, 3.9, 3.10, 3.11, 3.12 or 3.13."""
5757
__keywords__ = [
5858
"NLP",
5959
"CL",
@@ -90,6 +90,7 @@
9090
"Programming Language :: Python :: 3.10",
9191
"Programming Language :: Python :: 3.11",
9292
"Programming Language :: Python :: 3.12",
93+
"Programming Language :: Python :: 3.13",
9394
"Topic :: Scientific/Engineering",
9495
"Topic :: Scientific/Engineering :: Artificial Intelligence",
9596
"Topic :: Scientific/Engineering :: Human Machine Interfaces",

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
long_description="""\
6969
The Natural Language Toolkit (NLTK) is a Python package for
70-
natural language processing. NLTK requires Python 3.8, 3.9, 3.10, 3.11 or 3.12.""",
70+
natural language processing. NLTK requires Python 3.8, 3.9, 3.10, 3.11, 3.12, or 3.13.""",
7171
license="Apache License, Version 2.0",
7272
keywords=[
7373
"NLP",
@@ -100,6 +100,7 @@
100100
"Programming Language :: Python :: 3.10",
101101
"Programming Language :: Python :: 3.11",
102102
"Programming Language :: Python :: 3.12",
103+
"Programming Language :: Python :: 3.13",
103104
"Topic :: Scientific/Engineering",
104105
"Topic :: Scientific/Engineering :: Artificial Intelligence",
105106
"Topic :: Scientific/Engineering :: Human Machine Interfaces",

tox.ini

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312}
3+
py{38,39,310,311,312,313}
44
pypy
5-
py{38,39,310,311,312}-nodeps
6-
py{38,39,310,311,312}-jenkins
5+
py{38,39,310,311,312,313}-nodeps
6+
py{38,39,310,311,312,313}-jenkins
77
py-travis
88

99
[testenv]
@@ -90,6 +90,13 @@ deps =
9090
pytest-mock
9191
commands = pytest
9292

93+
[testenv:py313-nodeps]
94+
basepython = python3.13
95+
deps =
96+
pytest
97+
pytest-mock
98+
commands = pytest
99+
93100
# Use minor version agnostic basepython, but specify testenv
94101
# control Python2/3 versions using jenkins' user-defined matrix instead.
95102
# Available Python versions: http://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/python/fc25/

web/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installing NLTK
22
===============
33

4-
NLTK requires Python versions 3.8, 3.9, 3.10, 3.11 or 3.12.
4+
NLTK requires Python versions 3.8, 3.9, 3.10, 3.11, 3.12 or 3.13.
55

66
For Windows users, it is strongly recommended that you go through this guide to install Python 3 successfully https://docs.python-guide.org/starting/install3/win/#install3-windows
77

0 commit comments

Comments
 (0)