Skip to content

Commit

Permalink
Merge branch 'trs/merge/no-sqliterc'
Browse files Browse the repository at this point in the history
  • Loading branch information
tsibley committed Aug 28, 2024
2 parents d662698 + d2589af commit 47c83e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
### Bug Fixes

* filter: Improved warning and error messages in the case of missing columns. [#1604] (@victorlin)
* merge: Any user-customized `~/.sqliterc` file is now ignored so it doesn't break `augur merge`'s internal use of SQLite. [#1608][] (@tsibley)

[#1604]: https://github.com/nextstrain/augur/pull/1604
[#1608]: https://github.com/nextstrain/augur/pull/1608

## 25.3.0 (22 August 2024)

Expand Down
2 changes: 1 addition & 1 deletion augur/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def sqlite3(*args, **kwargs):
Nextstrain runtime.
"""))

argv = [sqlite3, "-batch", *args]
argv = [sqlite3, "-init", os.devnull, "-batch", *args]

print_debug(f"running {argv!r}")
proc = subprocess.run(argv, encoding="utf-8", text=True, **kwargs)
Expand Down

0 comments on commit 47c83e0

Please sign in to comment.