Skip to content

Commit

Permalink
Remove database migrations module
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumpe committed Aug 4, 2024
1 parent 5d844da commit 084fbe0
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 488 deletions.
6 changes: 0 additions & 6 deletions docs/source/api/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,3 @@ gambit.db.sqla
.. autoclass:: ReadOnlySession
:exclude-members: __init__, __new__
:no-members:


gambit.db.migrate
-----------------

.. automodule:: gambit.db.migrate
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ install_requires =
sqlalchemy~=1.1
# Seq stores data as bytes
biopython~=1.79
alembic~=1.0
attrs>=20
# Minimum for 3.12, also introduces potentially breaking changes
cattrs>=23.2
Expand Down Expand Up @@ -55,8 +54,8 @@ test = pytest
# Also check docstrings in package
testpaths = tests gambit

# Run doctests on all modules (except __main__.py and alembic config directory)
addopts = --doctest-modules --ignore-glob "**/__main__.py" --ignore "gambit/db/migrate/alembic/"
# Run doctests on all modules (except __main__.py)
addopts = --doctest-modules --ignore-glob "**/__main__.py"
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL

# Treat functions/classes prefixed with "benchmark" as tests, for files in tests/benchmarks/.
Expand Down
137 changes: 0 additions & 137 deletions src/gambit/db/migrate/__init__.py

This file was deleted.

89 changes: 0 additions & 89 deletions src/gambit/db/migrate/alembic.ini

This file was deleted.

1 change: 0 additions & 1 deletion src/gambit/db/migrate/alembic/README

This file was deleted.

62 changes: 0 additions & 62 deletions src/gambit/db/migrate/alembic/env.py

This file was deleted.

24 changes: 0 additions & 24 deletions src/gambit/db/migrate/alembic/script.py.mako

This file was deleted.

Loading

0 comments on commit 084fbe0

Please sign in to comment.