From be2391e4080c4c000afb9ccacfc27a79a36afd7a Mon Sep 17 00:00:00 2001 From: seanbreckenridge Date: Sat, 10 Feb 2024 12:06:50 -0800 Subject: [PATCH] add python 3.12 support (#54) --- .github/workflows/run-tests.yaml | 2 +- README.md | 2 +- browserexport/save.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 70765cb..06c2bf1 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index ebd6b7e..af7712d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # browserexport -[![PyPi version](https://img.shields.io/pypi/v/browserexport.svg)](https://pypi.python.org/pypi/browserexport) [![Python 3.8|3.9|3.10|3.11](https://img.shields.io/pypi/pyversions/browserexport.svg)](https://pypi.python.org/pypi/browserexport) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) +[![PyPi version](https://img.shields.io/pypi/v/browserexport.svg)](https://pypi.python.org/pypi/browserexport) [![Python 3.8|3.9|3.10|3.11|3.12](https://img.shields.io/pypi/pyversions/browserexport.svg)](https://pypi.python.org/pypi/browserexport) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) - [Supported Browsers](#supported-browsers) - [Install](#install) diff --git a/browserexport/save.py b/browserexport/save.py index f5da7d5..4ce2310 100644 --- a/browserexport/save.py +++ b/browserexport/save.py @@ -17,7 +17,7 @@ def _progress(status: str, remaining: int, total: int) -> None: - logger.debug(f"Copied {total-remaining} of {total} database pages...") + logger.debug(f"Copied {total - remaining} of {total} database pages...") def _sqlite_backup(src: PathIsh, dest: Optional[Path]) -> Optional[sqlite3.Connection]: