Skip to content

Commit a1ce169

Browse files
committed
Drop Python 3.9 support; bump to 1.1.1
Python 3.9 is past end-of-life and new mypy releases reject python_version = 3.9, which would eventually break CI.
1 parent 06ff645 commit a1ce169

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Velocity Template Previewer
22

3-
[![CI](https://github.com/star7js/velocity-previewer/actions/workflows/ci.yml/badge.svg)](https://github.com/star7js/velocity-previewer/actions/workflows/ci.yml) [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/) ![PyQt5](https://img.shields.io/badge/PyQt5-5.15+-41CD52?logo=qt&logoColor=white)
3+
[![CI](https://github.com/star7js/velocity-previewer/actions/workflows/ci.yml/badge.svg)](https://github.com/star7js/velocity-previewer/actions/workflows/ci.yml) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) ![PyQt5](https://img.shields.io/badge/PyQt5-5.15+-41CD52?logo=qt&logoColor=white)
44
[![PyPI](https://img.shields.io/pypi/v/velocity-previewer.svg)](https://pypi.org/project/velocity-previewer/)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
66
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -32,7 +32,7 @@ This tool lets you preview and test your Velocity templates instantly without de
3232

3333
## Installation
3434

35-
**Requirements:** Python 3.9+ (Windows, macOS, Linux)
35+
**Requirements:** Python 3.10+ (Windows, macOS, Linux)
3636

3737
```bash
3838
pip install velocity-previewer

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
22
name = "velocity-previewer"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "A modern, feature-rich PyQt5 application for previewing and rendering Velocity templates with real-time syntax highlighting, validation, and export capabilities."
55
readme = "README.md"
6-
requires-python = ">=3.9"
6+
requires-python = ">=3.10"
77
license = {text = "MIT"}
88
authors = [
99
{name = "Josh Simnitt"}
@@ -15,7 +15,6 @@ classifiers = [
1515
"License :: OSI Approved :: MIT License",
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
@@ -57,7 +56,7 @@ exclude = ["tests*", "docs*"]
5756

5857
[tool.black]
5958
line-length = 88
60-
target-version = ['py39']
59+
target-version = ['py310']
6160
include = '\.pyi?$'
6261
extend-exclude = '''
6362
/(
@@ -74,7 +73,7 @@ extend-exclude = '''
7473
'''
7574

7675
[tool.mypy]
77-
python_version = "3.9"
76+
python_version = "3.10"
7877
warn_return_any = true
7978
warn_unused_configs = true
8079
disallow_untyped_defs = true

src/velocity_previewer/utils.py

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

1212
# --- Constants ---
1313
APP_NAME = "Velocity Template Previewer"
14-
APP_VERSION = "1.1.0"
14+
APP_VERSION = "1.1.1"
1515
DEFAULT_WINDOW_WIDTH = 1200
1616
DEFAULT_WINDOW_HEIGHT = 800
1717
TEMPLATE_FILE_FILTER = "Velocity Templates (*.vm);;All Files (*)"

0 commit comments

Comments
 (0)