dependabot[bot]
986f26e71b
ci(deps): bump the github-actions group with 3 updates ( #3691 )
...
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout ), [actions/setup-python](https://github.com/actions/setup-python ) and [actions/cache](https://github.com/actions/cache ).
Updates `actions/checkout` from 4 to 7
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v7 )
Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
Updates `actions/cache` from 5 to 6
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/cache
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 11:57:14 +02:00
Eric Ka
2f975449d2
Use OMW-2.0 with all WordNet versions ( #3690 )
...
* Use OMW-2.0 with all WordNet versions
* Refresh nltk_data cache
* Update doctest example
2026-07-01 06:49:48 +02:00
Eric Kafe
16a32d680d
Fix release workflow CI check for tagged commits ( #3611 )
cffconvert / validate (push) Has been cancelled
ci-workflow / pre-commit (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (macos-latest) (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (ubuntu-latest) (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (windows-latest) (push) Has been cancelled
ci-workflow / Python 3.10 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.11 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.12 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.13 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.14 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.14t on macos-latest (push) Has been cancelled
ci-workflow / Python 3.10 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.11 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.12 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.13 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.14 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.14t on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.10 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.11 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.12 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.13 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.14 on windows-latest (push) Has been cancelled
Release / Gate release on CI success for this tag commit (push) Has been cancelled
Release / Build and create GitHub draft release (push) Has been cancelled
2026-06-11 22:09:46 +02:00
Eric Kafe
be36cfe02f
Check that CI succeeded on the commit a release tag points to ( #3506 )
...
* ci: apply review fixes, check docs, and use drafts
* Prepare to build a release candidate
2026-06-11 20:14:24 +02:00
dependabot[bot]
45e14a41e4
ci(deps): bump the github-actions group with 2 updates ( #3572 )
...
Bumps the github-actions group with 2 updates: [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) and [actions/github-script](https://github.com/actions/github-script ).
Updates `softprops/action-gh-release` from 2 to 3
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3 )
Updates `actions/github-script` from 8 to 9
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/github-script
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 12:48:42 +01:00
Steven Bird
9ed5a8d2ad
Merge pull request #3546 from nltk/dependabot/github_actions/github-actions-d49115c731
...
ci(deps): bump actions/github-script from 7 to 8 in the github-actions group
2026-04-28 00:44:00 +10:00
dependabot[bot]
d37c2949ae
ci(deps): bump actions/github-script in the github-actions group
...
Bumps the github-actions group with 1 update: [actions/github-script](https://github.com/actions/github-script ).
Updates `actions/github-script` from 7 to 8
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-01 05:46:57 +00:00
scruge1
527185e0e6
fix: add defusedxml to minimal CI install + remove trailing whitespace in ChangeLog
...
- Minimal download test was failing with ModuleNotFoundError: defusedxml
because the step only installed regex. Since defusedxml is now a hard
import in downloader.py (security fix), it must be installed for any
NLTK import to succeed.
- Remove trailing space on ChangeLog line 16 (pre-commit trailing-whitespace hook)
2026-03-31 08:05:39 +01:00
natgillin
aaa07d151b
Use reRunWorkflow for both fork and branch PRs
...
Results now attach to the PR check suite for all PR types.
Skip gracefully if CI is already running.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 16:00:05 -04:00
natgillin
bbf1cc184c
Fix retest workflow for fork-based PRs
...
Replace retest.yml with retest-pr.yml that works for both fork
and same-repo PRs.
- Fork PRs: re-run the existing CI workflow run (preserves fork context)
- Same-repo PRs: dispatch a new CI workflow run
- Trigger phrases: /retest, [CI: retest], [ci: retest]
- Removed invalid reactions: write permission that silently broke
GitHub's workflow registration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 15:26:12 -04:00
natgillin
e5feee195f
Add reactions:write permission and restore log messages
...
The rocket emoji reaction uses the issues/comments reactions API,
which requires reactions:write. The issues:write permission alone
does not cover the reactions endpoint. Also restore core.info()
log message on the dispatch path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 07:54:30 -04:00
natgillin
9e92231df3
Add issues:write permission for rocket reaction
...
The reaction API requires issues:write permission.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 07:51:10 -04:00
natgillin
0c4a799423
Restrict retest trigger to org members and collaborators
...
Only OWNER, MEMBER, and COLLABORATOR can trigger [CI: retest].
Prevents unauthorized users from re-running CI via PR comments.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 07:48:33 -04:00
natgillin
c87a8e301c
Fix retest workflow for fork-based PRs
...
createWorkflowDispatch only works for branches in the same repo,
so [CI: retest] on fork PRs silently failed. For fork PRs, use
reRunWorkflow on the existing CI run (matched by head SHA) instead.
Keep createWorkflowDispatch for same-repo branches.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 07:34:18 -04:00
Steven Bird
6baefd5fa9
Merge pull request #3525 from nltk/ci-retest-reboot
...
Add /retest and [ci: retest] comment trigger for CI
2026-03-18 17:04:37 +11:00
natgillin
f9036018bf
Add explicit permissions to all GitHub Actions workflows
...
Restrict GITHUB_TOKEN to least-privilege permissions:
- cffconvert.yml: contents: read (checkout + validate only)
- ci.yml: contents: read (checkout + test only)
- release.yml: contents: write (needs to create releases)
- labeler.yml: already had permissions set
Fixes security warning about workflows inheriting default
repository/organization permissions which may be read-write.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 01:22:24 -04:00
natgillin
a2e85a561e
Add [CI: retest] as additional trigger keyword
...
ci-workflow / pre-commit (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (macos-latest) (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (windows-latest) (push) Has been cancelled
ci-workflow / Python 3.11 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.14t on macos-latest (push) Has been cancelled
ci-workflow / Python 3.10 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.11 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.12 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.13 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.14 on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.14t on ubuntu-latest (push) Has been cancelled
ci-workflow / Python 3.14 on windows-latest (push) Has been cancelled
ci-workflow / Minimal NLTK Download Test (ubuntu-latest) (push) Has been cancelled
ci-workflow / Python 3.10 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.12 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.13 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.14 on macos-latest (push) Has been cancelled
ci-workflow / Python 3.10 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.11 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.12 on windows-latest (push) Has been cancelled
ci-workflow / Python 3.13 on windows-latest (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 22:50:23 -04:00
natgillin
8464af5340
Add /retest and [ci: retest] comment trigger for CI
...
Add a workflow that re-triggers CI when a maintainer comments
/retest or [ci: retest] on a PR. Uses workflow_dispatch on the
existing ci.yml. Adds a rocket reaction to confirm the trigger.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 22:46:21 -04:00
Bowie Chen
094cd5e420
Add support for Python 3.13 3.14 3.14t
2026-01-12 15:57:12 -08:00
dependabot[bot]
ba62b88d3b
ci(deps): bump actions/cache from 4 to 5 in the github-actions group ( #3493 )
...
Bumps the github-actions group with 1 update: [actions/cache](https://github.com/actions/cache ).
Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 08:43:46 +00:00
Eric Kafe
cde9d87d68
Update .github/workflows/ci.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-12 11:32:48 +01:00
Eric Kafe
2f929ff8dc
Use Python 3.13 for pre-commit
2025-12-12 11:04:55 +01:00
dependabot[bot]
ca2c1e2a9d
ci(deps): bump actions/checkout from 5 to 6 in the github-actions group ( #3475 )
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 09:45:30 +00:00
Christian Clauss
58be74a1d5
GitHub Actions: Add Python 3.13, 3.14, 3.14t to the testing ( #3433 )
...
https://www.python.org/downloads/release/python-3140/
https://py-free-threading.github.io/porting
Co-authored-by: purificant <purificant@users.noreply.github.com >
2025-11-07 16:32:28 +00:00
purificant
85d9ac3532
minimal changes to run CI for python 3.13 ( #3454 )
...
* minimal changes to run CI for python 3.13
* skip earlier
2025-11-07 15:58:01 +00:00
purificant
e94627c6bb
remove support for python 3.9 which is end of life on Oct 31 2025 ( #3447 )
2025-11-05 18:49:32 +00:00
dependabot[bot]
8fdccfbbe6
ci(deps): bump softprops/action-gh-release in the github-actions group ( #3448 )
...
Bumps the github-actions group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release ).
Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-version: '2'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-01 12:12:07 +00:00
Eric Kafe
5010348233
Install regex for the minimal test
2025-10-06 03:25:45 +02:00
Eric Kafe
d85b44303b
Merge remote-tracking branch 'upstream/develop' into ci_data_path
2025-10-06 02:56:57 +02:00
Eric Kafe
ca588b278c
Don't install the pypi version of nltk
2025-10-06 02:53:28 +02:00
Eric Kafe
7dd95bd913
Update .github/workflows/ci.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-28 10:26:43 +02:00
Eric Kafe
06eb38c3fb
Update .github/workflows/ci.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-28 10:26:00 +02:00
Eric Kafe
f4c69fe372
Use bash everywhere
2025-09-28 09:32:37 +02:00
Eric Kafe
e6262135c8
Debug NLTK data location in CI
...
Use bash to avoid Windows failure
Explicitly set NLTK_DATA path in test
Use an independent cache for each platform
Remove the fallback pathes
Fix path again
Make data cache path cross-platform
Fix NLTK data cache for cross-platform CI
Fix mismatch in Windows paths
Fix path again
Fix path again again
Fix path once more
Fix errors
Install dependencies first
Update paths in third-party.sh
Differentiate keys by os to avoid race conditions
Ensure third-party cache dir exists
Fix third-party cache by moving to github.workspace
Download third party tools only on a relevant os
Correct the actions order
2025-09-28 09:28:33 +02:00
Eric Kafe
5e2bd5496d
Update .github/workflows/release.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-24 13:25:37 +02:00
Eric Kafe
2d45e03d41
Separate the test and build steps
2025-09-24 13:09:40 +02:00
Eric Kafe
7dbb38782c
Automate release workflow
2025-09-24 12:39:05 +02:00
Eric Kafe
13d6791c68
Update .github/workflows/ci.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 19:42:26 +02:00
Eric Kafe
d2cf5d4ea2
Ensure nltk_data path is in the environment
2025-09-23 11:17:53 +02:00
Eric Kafe
4473fde9ee
Test CI with no data
2025-09-23 10:58:13 +02:00
Steven Bird
83bd737a96
Merge pull request #3423 from purificant/_dependabot
...
ci: automate ci github action updates with dependabot
2025-09-18 09:09:03 +09:30
Steven Bird
bcf6ea6b8f
Merge pull request #3421 from purificant/_py_versions
...
drop python 3.8 support
2025-09-18 09:07:46 +09:30
purificant
3527f45dbe
ci: automate ci github action updates with dependabot
2025-09-17 16:45:52 +01:00
purificant
6c93f3d317
drop python 3.8 support
2025-09-17 15:31:11 +01:00
purificant
674e953c01
ci: upgrade github actions
2025-09-17 11:00:35 +01:00
purificant
3197f26b87
restore using latest python 3.12 in ci now that 3.12.5 has been rolled out with a fix
2024-09-03 19:09:13 +01:00
purificant
0f770a81cf
fix python version for pre-commit as a workaround
2024-07-08 20:56:08 +01:00
purificant
b7325622be
ci: bump action versions
2024-03-11 13:59:45 +00:00
purificant
e3dee4dc98
add workaround for cache sometimes not being restored correctly on macos, move java setup to run later
2023-12-23 16:48:41 +00:00
purificant
48b6e10941
deprecate python 3.7
2023-12-17 14:19:58 +00:00