Skip to content

Commit

Permalink
remove missed sqlalchemy mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Sep 9, 2024
1 parent 19534ad commit 34c9d61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To use PostgreSQL, the following dependencies need to be installed (besides the

.. code-block:: sh
pacman -S python-sqlalchemy python-psycopg2
pacman -S python-psycopg2
Lilac can send error reports via email. A local mail transfer agent (MTA) is preferred (e.g. Postfix) but a remote one is supported too. We'll disable this in this article.

Expand Down
4 changes: 1 addition & 3 deletions lilac
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,8 @@ def main_may_raise(
pkgbuild.update_data(PACMAN_DB_DIR, pacman_conf)

if dburl := config['lilac'].get('dburl'):
import sqlalchemy
engine = sqlalchemy.create_engine(dburl)
schema = config['lilac'].get('schema')
db.setup(engine, schema)
db.setup(dburl, schema)

if cmds := config.get('misc', {}).get('prerun'):
for cmd in cmds:
Expand Down
17 changes: 0 additions & 17 deletions scripts/testdb.py

This file was deleted.

0 comments on commit 34c9d61

Please sign in to comment.