From 688fd288942e0467960505279d35edb2fce654b3 Mon Sep 17 00:00:00 2001 From: Gabriel Bordeaux Date: Sun, 22 Sep 2024 11:04:09 -0400 Subject: [PATCH] Bump version, add Python 3.11 and 3.12 to test matrix (#80) * Bump version, add Python 3.11 and 3.12 to test matrix * Bump sqlcipher3 * Add setuptools * Add setuptools * Update Readme --- .github/workflows/ci.yml | 8 ++++---- README.md | 5 +++-- setup.py | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3229b38..10afb5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -23,7 +23,7 @@ jobs: sudo apt-get update sudo apt-get install --yes gcc python3-dev libsqlcipher-dev pip install -U pip - pip install pycodestyle coverage pytest + pip install pycodestyle coverage pytest setuptools python3 setup.py install - name: Run pycodestyle run: | diff --git a/README.md b/README.md index ea9dca4..1bff103 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,12 @@ On MacOS, you can install `sqlcipher` with [brew](https://brew.sh/): brew install sqlcipher # Install sqlcipher3 -pip3 install sqlcipher3==0.4.5 +SQLCIPHER_VERSION="0.5.3" +pip3 install sqlcipher3==$SQLCIPHER_VERSION # If you are getting an error "Failed to build sqlcipher3", you would need to fix the build flags: SQLCIPHER_PATH="$(brew --cellar sqlcipher)/$(brew list --versions sqlcipher | tr ' ' '\n' | tail -1)" -C_INCLUDE_PATH=$SQLCIPHER_PATH/include LIBRARY_PATH=$SQLCIPHER_PATH/lib pip3 install sqlcipher3==0.4.5 +C_INCLUDE_PATH=$SQLCIPHER_PATH/include LIBRARY_PATH=$SQLCIPHER_PATH/lib pip3 install sqlcipher3==$SQLCIPHER_VERSION ``` Then install the vault: diff --git a/setup.py b/setup.py index eefd0d7..0aa850f 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='pyvault', - version='2.4.4', + version='2.4.5', description='Python password manager', long_description=long_description, author='Gabriel Bordeaux', @@ -24,7 +24,7 @@ 'tabulate', 'passwordgenerator', 'SQLAlchemy==1.4.41', - 'sqlcipher3==0.4.5' + 'sqlcipher3==0.5.3' ], # external dependencies entry_points={ 'console_scripts': [