Skip to content

Commit

Permalink
Merge pull request #130 from krishnasism/feat/support-later-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aptakhin authored Dec 15, 2024
2 parents 55ab972 + 739c43b commit bd320db
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9"]
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9"]
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
needs: linter
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
env:
Python3_ROOT_DIR:
name: Tests
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__"

[project]
name="hotpdf"
version="0.5.2"
version="0.5.3"
authors = [
{name = "Krishnasis Mandal", email = "[email protected]"}]
maintainers = [
Expand All @@ -18,6 +18,8 @@ license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
Expand Down
6 changes: 3 additions & 3 deletions tests/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ def perform_memory_test(file_name, expected_peak_memory):


def test_speed_benchmark_multiple_pages(multiple_pages_file_name):
perform_speed_test(multiple_pages_file_name, 3.5)
perform_speed_test(multiple_pages_file_name, 4.5)


def test_memory_benchmark_multiple_pages(multiple_pages_file_name):
perform_memory_test(multiple_pages_file_name, 16)


def test_speed_luca_mock(mock_hotpdf_bank_file_name):
perform_speed_test(mock_hotpdf_bank_file_name, 3.5)
perform_speed_test(mock_hotpdf_bank_file_name, 4.5)


def test_memory_luca_mock(mock_hotpdf_bank_file_name):
perform_memory_test(mock_hotpdf_bank_file_name, 12.99)


def test_speed_default_file(valid_file_name):
perform_speed_test(valid_file_name, 3.5)
perform_speed_test(valid_file_name, 4.5)


@pytest.mark.skip(reason="Need to perform benchmarks first")
Expand Down

0 comments on commit bd320db

Please sign in to comment.