Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

pypi-publish:
needs: build
name: Publish Python distribution to PyPI
runs-on: ubuntu-latest
environment:
Expand All @@ -38,7 +39,7 @@ jobs:
contents: read # Add the contents permission for accessing repository contents
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/python-publishtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

testpypi-publish:
needs: build
name: Publish Python distribution to testPyPI
runs-on: ubuntu-latest
environment:
Expand All @@ -40,7 +41,7 @@ jobs:
contents: read # Add the contents permission for accessing repository contents
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog
All notable changes to this project will be documented in this file.

## [2.0.5] - 2026-11-03
### Security
- Declare `requests>=2.32.4` as a dependency (fixes CVE-2024-35195, CVE-2024-47081 in older versions); minimum Python is now 3.8
### Fixed
- Publish workflows use `actions/upload-artifact`/`download-artifact` v4 (v3 is retired)

## [2.0.4] - 2024-06-12 (Joris Pennings)
### Changed
- Global gateway url
Expand Down
2 changes: 1 addition & 1 deletion cm_text/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.4'
__version__ = '2.0.5'
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
python_requires='>=3.8',
install_requires=[
'requests>=2.32.4',
],
)