Skip to content

Commit

Permalink
Bump version, add Python 3.11 and 3.12 to test matrix (#80)
Browse files Browse the repository at this point in the history
* Bump version, add Python 3.11 and 3.12 to test matrix

* Bump sqlcipher3

* Add setuptools

* Add setuptools

* Update Readme
  • Loading branch information
gabfl authored Sep 22, 2024
1 parent 9904c6d commit 688fd28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -24,7 +24,7 @@
'tabulate',
'passwordgenerator',
'SQLAlchemy==1.4.41',
'sqlcipher3==0.4.5'
'sqlcipher3==0.5.3'
], # external dependencies
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 688fd28

Please sign in to comment.