Skip to content

Commit 09b58f6

Browse files
committed
prepare 3.0.1 release
1 parent 7bcaa55 commit 09b58f6

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@
6868
# built documents.
6969
#
7070
# The short X.Y version.
71-
version = "3.0"
71+
import telnetlib3.accessories
72+
73+
version = release = telnetlib3.accessories.get_version()
7274

7375
# The full version, including alpha/beta/rc tags.
74-
release = "3.0.0" # keep in sync with pyproject.toml and telnetlib3/accessories.py !!
76+
#release = "3.0.1" # keep in sync with pyproject.toml and telnetlib3/accessories.py !!
7577

7678
# The language for content auto-generated by Sphinx. Refer to documentation
7779
# for a list of supported languages.

docs/history.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
History
22
=======
3-
3.0.1 (unreleased)
4-
* new: MCCP2 and MCCP3. Both client and server ends passively support if requested, and request
5-
support by --compression or deny support by --no-compression.
3+
3.0.1
4+
* change: Unused client argument ``gmcp_log`` removed.
65
* new: MCCP2 and MCCP3. Both client and server ends passively support if requested, and request
76
support by --compression or deny support by --no-compression.
87

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "telnetlib3"
7-
version = "3.0.0"
7+
version = "3.0.1" ## Keep in sync with telnetlib3.accessories.get_version() !
88
description = " Python Telnet server and client CLI and Protocol library"
99
readme = "README.rst"
1010
license = "ISC"

telnetlib3/accessories.py

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

4343
def get_version() -> str:
4444
"""Return the current version of telnetlib3."""
45-
return "3.0.0" # keep in sync with pyproject.toml and docs/conf.py !!
45+
return "3.0.1" # keep in sync with pyproject.toml and docs/conf.py !!
4646

4747

4848
def encoding_from_lang(lang: str) -> Optional[str]:

0 commit comments

Comments
 (0)