Skip to content

Commit

Permalink
tries to fix differences between pyproject and conda env (nebari-dev#514
Browse files Browse the repository at this point in the history
)

* fix dependencies

* fixes

* fix typos (nebari-dev#513)

* add pre-commit
  • Loading branch information
Adam-D-Lewis authored Nov 7, 2024
1 parent 8ac1bf0 commit f97e8bd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
dependencies:
- uvicorn
- fastapi
- requests
# Later versions were yanked in PyPi, but unfortunately not on conda-forge
# https://pypi.org/project/python-multipart/0.0.14/
- python-multipart <= 0.0.12
Expand All @@ -23,6 +24,10 @@ dependencies:
- python-slugify
- cachetools
- structlog
- pyjwt
- gradio
- gitpython
- playwright
- pytest-playwright
- pre-commit
- conda-project=0.4.2
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ dependencies = [
]
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"ruff",
"voila",
"dash",
"streamlit",
"gradio",
"pytest",
"playwright",
"pytest-playwright",
"pre-commit",
]

[project.entry-points.jhub_apps]
jhub_apps = "jhub_apps"

Expand Down

0 comments on commit f97e8bd

Please sign in to comment.