From 08541880d308a5c63f954f136ad65473d54241e8 Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 22 Sep 2024 10:30:04 -0400 Subject: [PATCH 1/5] Bump version, add Python 3.11 and 3.12 to test matrix --- .github/workflows/ci.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3229b38..c4ff445 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ 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 diff --git a/setup.py b/setup.py index eefd0d7..0b797b5 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', From 10dbdc0b6241eaac219e5cedab230649679e8b0a Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 22 Sep 2024 10:36:25 -0400 Subject: [PATCH 2/5] Bump sqlcipher3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0b797b5..0aa850f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ 'tabulate', 'passwordgenerator', 'SQLAlchemy==1.4.41', - 'sqlcipher3==0.4.5' + 'sqlcipher3==0.5.3' ], # external dependencies entry_points={ 'console_scripts': [ From d6807fbe1885de005e4a6d44760b4a26d6a17771 Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 22 Sep 2024 10:38:29 -0400 Subject: [PATCH 3/5] Add setuptools --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4ff445..db9333a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,9 @@ jobs: 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 @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install --yes gcc python3-dev libsqlcipher-dev + sudo apt-get install --yes gcc python3-dev python3-setuptools libsqlcipher-dev pip install -U pip pip install pycodestyle coverage pytest python3 setup.py install From f62c78289eb5ebc654a9782dab053f63d528f670 Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 22 Sep 2024 10:43:28 -0400 Subject: [PATCH 4/5] Add setuptools --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db9333a..10afb5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,9 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install --yes gcc python3-dev python3-setuptools libsqlcipher-dev + 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: | From b3209231c7643c3f557a17185e078e45ee38a9f2 Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 22 Sep 2024 10:59:55 -0400 Subject: [PATCH 5/5] Update Readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: