Skip to content

Commit a7a2fac

Browse files
committed
Release v0.1.12: Fix Python 3.8 compatibility, require Python 3.9+
- Fixed TypeError: 'type' object is not subscriptable in config.py - Updated type annotations to use List[Type] instead of list[Type] - Minimum Python version updated from 3.8 to 3.9 - Updated CI/CD workflows to use Python 3.9+ - Removed Python 3.8 from supported versions in package classifiers BREAKING CHANGE: Now requires Python 3.9+ (previously 3.8+)
1 parent f0eaed7 commit a7a2fac

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.8"
16+
python-version: "3.9"
1717

1818
- name: Install dependencies
1919
run: |

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [0.1.12] - 2025-01-19
4+
5+
### 🚨 BREAKING CHANGES
6+
- **Minimum Python version updated**: Now requires Python 3.9+ (previously 3.8+)
7+
8+
### Fixed
9+
- Fixed `TypeError: 'type' object is not subscriptable` error when running on Python 3.8
10+
- Updated type annotations in `config.py` to use `List[Type]` instead of `list[Type]` for better compatibility
11+
- Updated CI/CD workflows to use Python 3.9+ for testing and publishing
12+
13+
### Changed
14+
- Minimum Python version requirement updated from 3.8 to 3.9
15+
- Removed Python 3.8 from supported versions in package classifiers
16+
- Updated Black formatter target version to py39
17+
318
## [0.1.11] - 2025-01-19
419

520
### 🚨 BREAKING CHANGES

pyproject.toml

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

55
[project]
66
name = "promptix"
7-
version = "0.1.11"
7+
version = "0.1.12"
88
description = "A simple library for managing and using prompts locally with Promptix Studio"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)