Skip to content

Commit

Permalink
Flask-sqlalchemy 2.3 is there!
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Oct 6, 2017
1 parent 252a7fd commit 847f89c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ python3 -m pip install -r requirements.txt
```
In case of problems with the execution of commands above on Debian/Ubuntu running machines, look at the bottom of this page where alternative instructions are given. An additional requirement is `bsddb3` package, which is often easier to install system-wide with your package manager (on Debian named `python3-bsddb3`). You may need to add a symbolic link to the package inside of your virtual environment.

Recently released version of flask-sqlalchemy (2.2, Feb 2017) fixed some important issues but introduced a regression bug [#470](https://github.com/mitsuhiko/flask-sqlalchemy/issues/470) which forces use of forked, patched version until it is fixed. To get patched version, you will need to clone [flask_sqlalchemy directory](https://github.com/krassowski/flask-sqlalchemy/flask_sqlalchemy) into `website` directory:
```bash
git clone https://github.com/krassowski/flask-sqlalchemy/
mv flask-sqlalchemy/flask_sqlalchemy .
rm -rf flask-sqlalchemy
```

### Backend

#### Prerequisites
Expand Down
7 changes: 0 additions & 7 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ sudo make install
cd ..
cd ../..

# Get recent, patched version of flask-sqlalchemy
cd website
git clone https://github.com/krassowski/flask-sqlalchemy/
mv flask-sqlalchemy/flask_sqlalchemy .
rm -rf flask-sqlalchemy
cd ..

# Use examplar configuration for the beginning
cd website
mv example_config.py config.py
Expand Down
2 changes: 1 addition & 1 deletion website/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rpy2
Flask==0.12.2
Flask-Assets==0.12
Flask-Classful==0.13.1
Flask-SQLAlchemy==2.2
Flask-SQLAlchemy==2.3.1
passlib==1.6.5
webassets==0.12.1
mysqlclient
Expand Down

0 comments on commit 847f89c

Please sign in to comment.