Skip to content

Commit 23aee2b

Browse files
authored
Merge pull request #2571 from Badiboy/master
Bump version
2 parents 4db74cc + 4729652 commit 23aee2b

File tree

3 files changed

+121
-121
lines changed

3 files changed

+121
-121
lines changed

docs/source/conf.py

Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
1-
# Configuration file for the Sphinx documentation builder.
2-
#
3-
# This file only contains a selection of the most common options. For a full
4-
# list see the documentation:
5-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6-
7-
# -- Path setup --------------------------------------------------------------
8-
9-
# If extensions (or modules to document with autodoc) are in another directory,
10-
# add these directories to sys.path here. If the directory is relative to the
11-
# documentation root, use os.path.abspath to make it absolute, like shown here.
12-
#
13-
# import os
14-
# import sys
15-
# sys.path.insert(0, os.path.abspath('.'))
16-
from datetime import datetime
17-
18-
# -- Project information -----------------------------------------------------
19-
20-
project = 'pyTelegramBotAPI'
21-
author = 'coder2020official'
22-
copyright = f'2022-{datetime.now().year}, {author}'
23-
24-
# The full version, including alpha/beta/rc tags
25-
release = '4.31.0'
26-
27-
28-
# -- General configuration ---------------------------------------------------
29-
30-
# Add any Sphinx extension module names here, as strings. They can be
31-
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32-
# ones.
33-
extensions = [
34-
'sphinx.ext.autosectionlabel',
35-
'sphinx.ext.autodoc',
36-
"sphinx.ext.autosummary",
37-
"sphinx.ext.napoleon",
38-
"sphinx_copybutton",
39-
40-
]
41-
42-
# Add any paths that contain templates here, relative to this directory.
43-
templates_path = ['_templates']
44-
45-
# List of patterns, relative to source directory, that match files and
46-
# directories to ignore when looking for source files.
47-
# This pattern also affects html_static_path and html_extra_path.
48-
exclude_patterns = []
49-
50-
51-
# -- Options for HTML output -------------------------------------------------
52-
53-
# The theme to use for HTML and HTML Help pages. See the documentation for
54-
# a list of builtin themes.
55-
#
56-
html_theme = 'furo'
57-
58-
# Add any paths that contain custom static files (such as style sheets) here,
59-
# relative to this directory. They are copied after the builtin static files,
60-
# so a file named "default.css" will overwrite the builtin "default.css".
61-
html_static_path = ['_static']
62-
#html_logo = 'logo.png'
63-
html_theme_options = {
64-
"light_css_variables": {
65-
"color-brand-primary": "#7C4DFF",
66-
"color-brand-content": "#7C4DFF",
67-
},
68-
"light_logo": "logo.png",
69-
"dark_logo": "logo2.png",
70-
}
71-
72-
locale_dirs = ["locales/"]
1+
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# This file only contains a selection of the most common options. For a full
4+
# list see the documentation:
5+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
7+
# -- Path setup --------------------------------------------------------------
8+
9+
# If extensions (or modules to document with autodoc) are in another directory,
10+
# add these directories to sys.path here. If the directory is relative to the
11+
# documentation root, use os.path.abspath to make it absolute, like shown here.
12+
#
13+
# import os
14+
# import sys
15+
# sys.path.insert(0, os.path.abspath('.'))
16+
from datetime import datetime
17+
18+
# -- Project information -----------------------------------------------------
19+
20+
project = 'pyTelegramBotAPI'
21+
author = 'coder2020official'
22+
copyright = f'2022-{datetime.now().year}, {author}'
23+
24+
# The full version, including alpha/beta/rc tags
25+
release = '4.32.0'
26+
27+
28+
# -- General configuration ---------------------------------------------------
29+
30+
# Add any Sphinx extension module names here, as strings. They can be
31+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32+
# ones.
33+
extensions = [
34+
'sphinx.ext.autosectionlabel',
35+
'sphinx.ext.autodoc',
36+
"sphinx.ext.autosummary",
37+
"sphinx.ext.napoleon",
38+
"sphinx_copybutton",
39+
40+
]
41+
42+
# Add any paths that contain templates here, relative to this directory.
43+
templates_path = ['_templates']
44+
45+
# List of patterns, relative to source directory, that match files and
46+
# directories to ignore when looking for source files.
47+
# This pattern also affects html_static_path and html_extra_path.
48+
exclude_patterns = []
49+
50+
51+
# -- Options for HTML output -------------------------------------------------
52+
53+
# The theme to use for HTML and HTML Help pages. See the documentation for
54+
# a list of builtin themes.
55+
#
56+
html_theme = 'furo'
57+
58+
# Add any paths that contain custom static files (such as style sheets) here,
59+
# relative to this directory. They are copied after the builtin static files,
60+
# so a file named "default.css" will overwrite the builtin "default.css".
61+
html_static_path = ['_static']
62+
#html_logo = 'logo.png'
63+
html_theme_options = {
64+
"light_css_variables": {
65+
"color-brand-primary": "#7C4DFF",
66+
"color-brand-content": "#7C4DFF",
67+
},
68+
"light_logo": "logo.png",
69+
"dark_logo": "logo2.png",
70+
}
71+
72+
locale_dirs = ["locales/"]

pyproject.toml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
5-
[project]
6-
name = "pyTelegramBotAPI"
7-
version = "4.31.0"
8-
description = "Python Telegram bot API."
9-
authors = [{name = "eternnoir", email = "eternnoir@gmail.com"}]
10-
license = {text = "GPL2"}
11-
readme = "README.md"
12-
requires-python = ">=3.9"
13-
keywords = ["telegram", "bot", "api", "tools"]
14-
classifiers = [
15-
"Development Status :: 5 - Production/Stable",
16-
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.10",
18-
"Programming Language :: Python :: 3.11",
19-
"Programming Language :: Python :: 3.12",
20-
"Programming Language :: Python :: 3.13",
21-
"Programming Language :: Python :: 3.14",
22-
"Environment :: Console",
23-
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)"
24-
]
25-
dependencies = ["requests"]
26-
27-
[project.urls]
28-
Homepage = "https://github.com/eternnoir/pyTelegramBotAPI"
29-
Documentation = "https://pytba.readthedocs.org"
30-
Repository = "https://github.com/eternnoir/pyTelegramBotAPI"
31-
Issues = "https://github.com/eternnoir/pyTelegramBotAPI/issues"
32-
33-
34-
[project.optional-dependencies]
35-
json = ["ujson"]
36-
PIL = ["Pillow"]
37-
redis = ["redis>=3.4.1"]
38-
fastapi = ["fastapi"]
39-
uvicorn = ["uvicorn"]
40-
psutil = ["psutil"]
41-
coloredlogs = ["coloredlogs"]
42-
watchdog = ["watchdog"]
43-
44-
45-
[tool.hatch.build.targets.wheel]
46-
include = ["telebot/*"]
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "pyTelegramBotAPI"
7+
version = "4.32.0"
8+
description = "Python Telegram bot API."
9+
authors = [{name = "eternnoir", email = "eternnoir@gmail.com"}]
10+
license = {text = "GPL2"}
11+
readme = "README.md"
12+
requires-python = ">=3.9"
13+
keywords = ["telegram", "bot", "api", "tools"]
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
22+
"Environment :: Console",
23+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)"
24+
]
25+
dependencies = ["requests"]
26+
27+
[project.urls]
28+
Homepage = "https://github.com/eternnoir/pyTelegramBotAPI"
29+
Documentation = "https://pytba.readthedocs.org"
30+
Repository = "https://github.com/eternnoir/pyTelegramBotAPI"
31+
Issues = "https://github.com/eternnoir/pyTelegramBotAPI/issues"
32+
33+
34+
[project.optional-dependencies]
35+
json = ["ujson"]
36+
PIL = ["Pillow"]
37+
redis = ["redis>=3.4.1"]
38+
fastapi = ["fastapi"]
39+
uvicorn = ["uvicorn"]
40+
psutil = ["psutil"]
41+
coloredlogs = ["coloredlogs"]
42+
watchdog = ["watchdog"]
43+
44+
45+
[tool.hatch.build.targets.wheel]
46+
include = ["telebot/*"]

telebot/version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Versions should comply with PEP440.
2-
# This line is parsed in setup.py:
3-
__version__ = '4.31.0'
1+
# Versions should comply with PEP440.
2+
# This line is parsed in setup.py:
3+
__version__ = '4.32.0'

0 commit comments

Comments
 (0)