Skip to content

Commit d30229a

Browse files
authored
Merge branch 'dev' into update-actions-version
2 parents 73703de + 779da37 commit d30229a

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ keywords:
4545
- "Thai language"
4646
- "Thai NLP"
4747
license: Apache-2.0
48-
version: 5.1.0-beta1
49-
date-released: "2024-12-27"
48+
version: 5.1.0-beta2
49+
date-released: "2025-02-09"

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"@type": "SoftwareSourceCode",
44
"name": "PyThaiNLP",
55
"description": "Thai Natural Language Processing in Python",
6-
"version": "5.1.0-beta1",
6+
"version": "5.1.0-beta2",
77
"author": [
88
{
99
"@type": "Person",

docker_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tensorflow==2.18.0
3535
thai-nner==0.3
3636
tltk==1.6.8
3737
torch==1.13.1
38-
transformers==4.48.1
38+
transformers==4.48.2
3939
ufal.chu-liu-edmonds==1.0.3
4040
wtpsplit==1.3.0
4141
wunsen==0.0.3

pythainlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-FileCopyrightText: 2016-2025 PyThaiNLP Project
33
# SPDX-FileType: SOURCE
44
# SPDX-License-Identifier: Apache-2.0
5-
__version__ = "5.1.0-beta1"
5+
__version__ = "5.1.0-beta2"
66

77
thai_consonants = "กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ" # 44 chars
88

release.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# How to cut a new release
22

33
0. Check if the package can be built properly.
4-
Add the prefix "[cd build]" to the commit message to trigger wheel building.
4+
Include "[cd build]" in the commit message to trigger wheel building.
55
1. This project follows [semantic versioning][semver].
66
Ensure the version and release date fields (if any) in these files
77
have been updated to the version of the new planned release:
8+
- `codemeta.json`
89
- `pyproject.toml`
910
- `setup.cfg`
1011
- `setup.py`
12+
- `CHANGELOG.md`
1113
- `CITATION.cff`
1214
- `README.md`
1315
- `README.TH.md`
14-
- `CHANGELOG.md`
1516
2. Navigate to the [releases page][releases] and click the
1617
"Draft a new release" button.
1718
Only project maintainers are able to perform this step.
@@ -21,6 +22,7 @@
2122
For instance, the title could be `v5.0.1`.
2223
5. Add a short summary of important changes in this release.
2324
For example, deprecation or termination of support.
25+
This should be similar to what have been logged in `CHANGELOG.md`.
2426
6. Then click the "Generate release notes" button.
2527
7. You can optionally include any particular thank-you's to contributors or
2628
reviewers in a note at the bottom of the release.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 5.1.0-beta1
2+
current_version = 5.1.0-beta2
33
commit = True
44
tag = True
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150

151151
setup(
152152
name="pythainlp",
153-
version="5.1.0-beta1",
153+
version="5.1.0-beta2",
154154
description="Thai Natural Language Processing library",
155155
long_description=LONG_DESC,
156156
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)