diff --git a/.github/workflows/cmake.yaml b/.github/workflows/cmake.yaml index 2c58cd8..4806d8f 100644 --- a/.github/workflows/cmake.yaml +++ b/.github/workflows/cmake.yaml @@ -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 diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 42a5848..523e986 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -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 diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index e885275..42e5f3d 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -15,9 +15,9 @@ 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 @@ -25,11 +25,11 @@ jobs: - 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 @@ -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 }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 81bfcca..5a31d7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/setup.py b/setup.py index 41495e5..20d8919 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -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", ], @@ -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"], )