Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/grpcio-1.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabegma committed Aug 1, 2023
2 parents ecdf028 + 3f67788 commit 4af0ef1
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
with:
python-version: 3.9
- uses: Gr1N/setup-poetry@v8
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- run: poetry --version
- name: Install dependencies
run: |
poetry install --extras cpu --no-interaction --no-ansi
poetry install --without dev,docs --extras cpu --no-interaction --no-ansi
- name: Test with pytest/flake8/mypy
env:
PYTEST_ADDOPTS: "--color=yes"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ COPY poetry.lock pyproject.toml /app/

WORKDIR /app
RUN poetry config virtualenvs.create false && \
poetry install --extras ${DEVICE} --no-interaction --no-ansi --no-root $(/usr/bin/test $STAGE == production && echo "--no-dev")
poetry install --extras ${DEVICE} --no-interaction --no-ansi --no-root $(/usr/bin/test $STAGE == production && echo "--without dev,test,docs")

# Install the project.
COPY . /app/
RUN poetry install --extras ${DEVICE} --no-interaction --no-ansi $(/usr/bin/test $STAGE == production && echo "--no-dev")
RUN poetry install --extras ${DEVICE} --no-interaction --no-ansi $(/usr/bin/test $STAGE == production && echo "--without dev,test,docs")
ENV CFG_PATH=
ENV LOAD_CONFIG_HISTORY=
ENV PORT=
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,6 @@ To contact us, join our [slack](https://join.slack.com/t/azimuth-org/shared_invi
## License

The package is licensed by ServiceNow, Inc. under the Apache 2.0 license. See [LICENSE](LICENSE) for more details.

## Vulnerability Reporting
Please notify psirt-oss@servicenow.com regarding any vulnerability reports in addition to following current reporting procedure.
2 changes: 1 addition & 1 deletion docs/docs/getting-started/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Releases

## [2.8.0] - 2023-07-TODO
## [2.8.0] - 2023-07-06

### Added
- Config UI:
Expand Down
69 changes: 36 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 19 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ onnx = "^1.12.0"
onnxruntime-extensions = "0.3.1"
onnxruntime = { version = "1.12.1", optional = true }
onnxruntime-gpu = { version = "1.12.1", optional = true }
scipy = "^1.6.3"
scipy = "^1.10.0"
spectral-metric = "0.6.1"
torch = { version = "1.13.1", source = "PyPI" }
numpy = "1.23.5"
Expand Down Expand Up @@ -63,32 +63,40 @@ cpu = ["onnxruntime"]
gpu = ["onnxruntime-gpu"]

[tool.poetry.group.dev.dependencies]
jupyterlab = "^3.0.5"
ipywidgets = ">=7.6"
matplotlib = "^3.4.1"
bokeh = "<3"
pyinstrument = "^4.3.0"
memory-profiler = "^0.61.0"

# Rare dependencies for specific experiments in notebooks
[tool.poetry.group.experimental]
optional = true

[tool.poetry.group.experimental.dependencies]
umap-learn = "^0.5.1"
hdbscan = "^0.8.27"
seaborn = "0.11.2"

[tool.poetry.group.test.dependencies]
pytest = "^6.0"
pytest-cov = "2.11.1"
pytest-env = "^0.6.2"
flake8 = ">=3.8"
flake8-black = "0.2.4"
jupyterlab = "^3.0.5"
ipywidgets = ">=7.6"
black = ">=20.8b1"
mypy = "^0.910"
bandit = "^1.7.0"
matplotlib = "^3.4.1"
umap-learn = "^0.5.1"
seaborn = "0.11.2"
hdbscan = "^0.8.27"
pre-commit = "^2.15.0"
isort = "^5.9.3"
types-simplejson = "^3.17.0"
types-filelock = "^0.1.5"
types-orjson = "^3.6.0"
pyinstrument = "^4.3.0"
bokeh = "<3"

# Documentation
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.2.3"
mkdocs-material = "^8.1.7"
memory-profiler = "^0.61.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 4af0ef1

Please sign in to comment.