Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Install cmocka library
run: sudo apt install -y libcmocka-dev
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
tests:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Setup Python ${{matrix.python-version}}
uses: actions/setup-python@v1
uses: actions/setup-python@v6
with:
python-version: ${{matrix.python-version}}

- name: Install Python Dependencies
run: pip install cffi pytest
run: pip install cffi pytest setuptools

- name: Compile C Library
run: python setup_ffi.py
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- uses: actions/setup-python@v2
- uses: actions/setup-python@v6

- name: Install cibuildwheel
run: python -m pip install -U cibuildwheel==2.16.5

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-*'
CIBW_BUILD: 'cp310-* cp311-* cp312-* cp313-* cp314-*'
CIBW_SKIP: '*-musllinux_* *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x'
CIBW_ARCHS: ${{ matrix.cibw_arch }}

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v8
with:
path: wheelhouse/*.whl

Expand All @@ -42,7 +42,7 @@ jobs:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.14.0
with:
user: __token__
password: ${{ secrets.pypi_token }}
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.5)
project(huffman C)
enable_testing()

set(huffman_LIBRARY_VERSION "1.0.3")
set(huffman_LIBRARY_VERSION "1.0.4")
set(huffman_LIBRARY_SOVERSION "1")


Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="huffmanfile",
version="1.0.3",
version="1.0.4",

long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
Expand All @@ -21,10 +21,11 @@
"Topic :: Software Development :: Libraries",
"Topic :: System :: Archiving :: Compression",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
],
Expand All @@ -37,7 +38,7 @@

tests_require=["pytest"],
install_requires=["cffi>=1.15.0"],
setup_requires=["cffi>=1.15.0", "setuptools_scm"],
setup_requires=["cffi>=1.15.0", "setuptools", "setuptools_scm"],

cffi_modules=["setup_ffi.py:ffibuilder"],
)