generated from opensafely-core/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move dependency list out of
pyproject.toml
They were moved in as part of #252 on the basis that this was "more modern". However we don't – and don't intend to – publish ehrQL as a package to PyPI and when we do build it as a package in our Docker image we tell pip to ignore dependencies anyway. And for some reason that we haven't got to the bottom of, Dependabot is unable to update our production dependencies if we specify them in this way. This moves us back to the `requirements.prod.in` pattern that we use elsewhere and which Dependabot handles nicely. Closes #964
- Loading branch information
Showing
3 changed files
with
27 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,26 +11,6 @@ authors = [{name = "OpenSAFELY", email = "[email protected]"}] | |
license = {file = "LICENSE"} | ||
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"] | ||
requires-python = ">=3.11" | ||
dependencies = [ | ||
"pyarrow", | ||
"sqlalchemy", | ||
"structlog", | ||
|
||
# Database driver for MS-SQL | ||
"pymssql", | ||
|
||
# Trino python client and database driver | ||
"trino", | ||
|
||
# Gives us isolation from the system version of SQLite and means we don't | ||
# need to worry about e.g. some versions of SQLite missing the `FLOOR` | ||
# function. | ||
"sqlean.py", | ||
|
||
# For graphing query graphs | ||
"networkx", | ||
"pydot", | ||
] | ||
|
||
[project.scripts] | ||
ehrql = "ehrql.__main__:entrypoint" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pyarrow | ||
sqlalchemy | ||
structlog | ||
|
||
# Database driver for MS-SQL | ||
pymssql | ||
|
||
# Trino python client and database driver | ||
trino | ||
|
||
# Gives us isolation from the system version of SQLite and means we don't | ||
# need to worry about e.g. some versions of SQLite missing the `FLOOR` | ||
# function. | ||
sqlean.py | ||
|
||
# For graphing query graphs | ||
networkx | ||
pydot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters