Skip to content

Commit

Permalink
fix: Fix hydra plugin installation (#93)
Browse files Browse the repository at this point in the history
* build: Refactor hydra plugin to be compatible with poetry

* build: Refactor description

* build: Update version

* refactor: Fix typo in filename

* build: Include quadra plugins to the build
  • Loading branch information
lorenzomammana authored Jan 16, 2024
1 parent d2aa68c commit 89849e3
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# Changelog
All notable changes to this project will be documented in this file.

### [1.5.1]

#### Fixed

- Fix hydra plugin not working properly.

### [1.5.0]

#### Changed
Expand Down
22 changes: 19 additions & 3 deletions poetry.lock

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

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "quadra"
version = "1.5.0"
version = "1.5.1"
description = "Deep Learning experiment orchestration library"
authors = [
"Federico Belotti <[email protected]>",
Expand All @@ -25,6 +25,7 @@ classifiers = [
]
homepage = "https://orobix.github.io/quadra"
repository = "https://github.com/orobix/quadra"
packages = [{ include = "quadra" }, { include = "quadra_hydra_plugin" }]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand All @@ -36,7 +37,7 @@ quadra = "quadra.main:main"
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
poetry = "1.7.1"

hydra-plugins = { path = "./quadra_hydra_plugin" }
# TODO: We could support previous torch version using mutually exclusive python version but it's bad...
# TODO: Right now it seems that poetry will download every kind of possible dependency from cu116
# To make it faster we could hardcode the correct version of the dependencies
Expand Down
2 changes: 1 addition & 1 deletion quadra/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.5.0"
__version__ = "1.5.1"


def get_version():
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions quadra_hydra_plugin/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[tool.poetry]
name = "hydra_plugins"
version = "1.0.0"
description = "Hydra plugin allowing the discovery of external configurations"
authors = [
"Federico Belotti <[email protected]>",
"Silvia Bianchetti <[email protected]>",
"Refik Can Malli <[email protected]>",
"Lorenzo Mammana <[email protected]>",
"Alessandro Polidori <[email protected]>",
]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
poetry = "1.7.1"

0 comments on commit 89849e3

Please sign in to comment.