Skip to content

Commit

Permalink
make tox and github action use same python version (#939)
Browse files Browse the repository at this point in the history
* make tox and github action use same python version

* Add empty dictionary as default to validator args (#938)

* make tox and github action use same python version

* make tox and github action use same python version

unrelated - have view_scaffold have a default SQLALCHEMY URL.

---------

Co-authored-by: Pascua Theus <pascua@identeco.de>
  • Loading branch information
jwag956 and sr-verde authored Feb 27, 2024
1 parent 4e7b943 commit 42edd25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"
- name: update pip
run: |
python -m pip install -U pip
Expand Down
1 change: 1 addition & 0 deletions tests/view_scaffold.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def origin(self) -> str:
CSRFProtect(app)
# Create database models and hook up.
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
app.config.setdefault("SQLALCHEMY_DATABASE_URI", "sqlite:///:memory:")
db = SQLAlchemy(app)
fsqla.FsModels.set_db_info(db)

Expand Down

0 comments on commit 42edd25

Please sign in to comment.