Skip to content

Commit 8b497d4

Browse files
author
esfiam
committed
🔧 Fix GitHub Actions: Remove Python 3.7 support
- Python 3.7 reached EOL (June 2023) - Ubuntu 24.04 doesn't support Python 3.7 - Update minimum version to Python 3.8 - Update all documentation and config files - Bump version to 1.2.3
1 parent ec899d1 commit 8b497d4

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
13+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
1414

1515
steps:
1616
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ logger.critical("This is a critical message") # Bright Red
4747

4848
## Compatibility
4949

50-
- **Python**: 3.7+
50+
- **Python**: 3.8+
5151
- **Operating Systems**: Windows, macOS, Linux
5252
- **Terminals**: CMD, PowerShell, bash, zsh, fish
5353
- **IDEs**: VS Code, PyCharm, Jupyter, and more

docs/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Requirements
44

5-
- Python 3.7 or higher
5+
- Python 3.8 or higher
66
- No external dependencies required
77

88
## Installation from PyPI
@@ -63,7 +63,7 @@ If colors are not displaying:
6363

6464
If you get import errors:
6565

66-
1. Ensure Python version is 3.7+
66+
1. Ensure Python version is 3.8+
6767
2. Verify installation with `pip list | grep smartlogger`
6868
3. Check if you're using the correct Python environment
6969

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pysmartlogger"
7-
version = "1.2.0"
7+
version = "1.2.3"
88
description = "A cross-platform Python library that adds colorful logging capabilities to the standard logging module"
99
readme = "README.md"
1010
license = {text = "MIT"}
@@ -21,7 +21,7 @@ classifiers = [
2121
"License :: OSI Approved :: MIT License",
2222
"Operating System :: OS Independent",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.7",
24+
2525
"Programming Language :: Python :: 3.8",
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
@@ -32,7 +32,7 @@ classifiers = [
3232
"Topic :: Terminals",
3333
"Environment :: Console"
3434
]
35-
requires-python = ">=3.7"
35+
requires-python = ">=3.8"
3636

3737
[project.urls]
3838
Homepage = "https://github.com/DeepPythonist/smartlogger"

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="pysmartlogger",
11-
version="1.2.0",
11+
version="1.2.3",
1212
author="Mohammad Rasol Esfandiari",
1313
author_email="mrasolesfandiari@gmail.com",
1414
description="A cross-platform Python library that adds colorful logging capabilities to the standard logging module",
@@ -28,7 +28,7 @@
2828
"License :: OSI Approved :: MIT License",
2929
"Operating System :: OS Independent",
3030
"Programming Language :: Python :: 3",
31-
"Programming Language :: Python :: 3.7",
31+
3232
"Programming Language :: Python :: 3.8",
3333
"Programming Language :: Python :: 3.9",
3434
"Programming Language :: Python :: 3.10",
@@ -39,7 +39,7 @@
3939
"Topic :: Terminals",
4040
"Environment :: Console",
4141
],
42-
python_requires=">=3.7",
42+
python_requires=">=3.8",
4343
keywords="logging colors terminal cross-platform python ansi console",
4444
license="MIT",
4545
)

smartlogger/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.2.0"
1+
__version__ = "1.2.3"
22
__author__ = "Mohammad Rasol Esfandiari"
33
__email__ = "mrasolesfandiari@gmail.com"
44
__license__ = "MIT"

0 commit comments

Comments
 (0)