Move dependencies to extra

This commit is contained in:
Simon Alibert
2024-05-21 16:29:44 +02:00
parent 956f035d16
commit 62d3546f08
2 changed files with 27 additions and 13 deletions

32
poetry.lock generated
View File

@@ -446,7 +446,7 @@ files = [
name = "contourpy"
version = "1.2.1"
description = "Python library for calculating contours of 2D quadrilateral grids"
optional = false
optional = true
python-versions = ">=3.9"
files = [
{file = "contourpy-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bd7c23df857d488f418439686d3b10ae2fbf9bc256cd045b37a8c16575ea1040"},
@@ -576,7 +576,7 @@ toml = ["tomli"]
name = "cycler"
version = "0.12.1"
description = "Composable style cycles"
optional = false
optional = true
python-versions = ">=3.8"
files = [
{file = "cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30"},
@@ -912,7 +912,7 @@ typing = ["typing-extensions (>=4.8)"]
name = "fonttools"
version = "4.51.0"
description = "Tools to manipulate font files"
optional = false
optional = true
python-versions = ">=3.8"
files = [
{file = "fonttools-4.51.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:84d7751f4468dd8cdd03ddada18b8b0857a5beec80bce9f435742abc9a851a74"},
@@ -1628,7 +1628,7 @@ i18n = ["Babel (>=2.7)"]
name = "kiwisolver"
version = "1.4.5"
description = "A fast implementation of the Cassowary constraint solver"
optional = false
optional = true
python-versions = ">=3.7"
files = [
{file = "kiwisolver-1.4.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:05703cf211d585109fcd72207a31bb170a0f22144d68298dc5e61b3c946518af"},
@@ -2074,7 +2074,7 @@ files = [
name = "matplotlib"
version = "3.8.4"
description = "Python plotting package"
optional = false
optional = true
python-versions = ">=3.9"
files = [
{file = "matplotlib-3.8.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:abc9d838f93583650c35eca41cfcec65b2e7cb50fd486da6f0c49b5e1ed23014"},
@@ -2760,7 +2760,7 @@ xml = ["lxml (>=4.9.2)"]
name = "patsy"
version = "0.5.6"
description = "A Python package for describing statistical models and for building design matrices."
optional = false
optional = true
python-versions = "*"
files = [
{file = "patsy-0.5.6-py2.py3-none-any.whl", hash = "sha256:19056886fd8fa71863fa32f0eb090267f21fb74be00f19f5c70b2e9d76c883c6"},
@@ -3256,7 +3256,7 @@ files = [
name = "pyparsing"
version = "3.1.2"
description = "pyparsing module - Classes and methods to define and execute parsing grammars"
optional = false
optional = true
python-versions = ">=3.6.8"
files = [
{file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"},
@@ -3705,7 +3705,7 @@ test = ["asv", "numpydoc (>=1.7)", "pooch (>=1.6.0)", "pytest (>=7.0)", "pytest-
name = "scipy"
version = "1.13.0"
description = "Fundamental algorithms for scientific computing in Python"
optional = false
optional = true
python-versions = ">=3.9"
files = [
{file = "scipy-1.13.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ba419578ab343a4e0a77c0ef82f088238a93eef141b2b8017e46149776dfad4d"},
@@ -4003,7 +4003,7 @@ files = [
name = "statsmodels"
version = "0.14.2"
description = "Statistical computations and models for Python"
optional = false
optional = true
python-versions = ">=3.9"
files = [
{file = "statsmodels-0.14.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:df5d6f95c46f0341da6c79ee7617e025bf2b371e190a8e60af1ae9cabbdb7a97"},
@@ -4085,6 +4085,17 @@ files = [
[package.extras]
tests = ["pytest", "pytest-cov"]
[[package]]
name = "terminaltables"
version = "3.1.10"
description = "Generate simple tables in terminals from a nested list of strings."
optional = true
python-versions = ">=2.6"
files = [
{file = "terminaltables-3.1.10-py2.py3-none-any.whl", hash = "sha256:e4fdc4179c9e4aab5f674d80f09d76fa436b96fdc698a8505e0a36bf0804a874"},
{file = "terminaltables-3.1.10.tar.gz", hash = "sha256:ba6eca5cb5ba02bba4c9f4f985af80c54ec3dccf94cfcd190154386255e47543"},
]
[[package]]
name = "tifffile"
version = "2024.5.10"
@@ -4606,6 +4617,7 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[extras]
aloha = ["gym-aloha"]
compare = ["matplotlib", "statsmodels", "terminaltables"]
dev = ["debugpy", "pre-commit"]
pusht = ["gym-pusht"]
test = ["pytest", "pytest-cov"]
@@ -4615,4 +4627,4 @@ xarm = ["gym-xarm"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.10,<3.13"
content-hash = "de2dbc4ee8683eeb34f4dfff0c18270e594d4b6698af2b2eba97bd4cede74be1"
content-hash = "f85a71ac284fe1090a0b3188a6cfddeb346c8712c6d899f24c19b59962d557d4"

View File

@@ -58,17 +58,19 @@ imagecodecs = { version = ">=2024.1.1", optional = true }
pyav = ">=12.0.5"
moviepy = ">=1.0.3"
rerun-sdk = ">=0.15.1"
statsmodels = "^0.14.2"
matplotlib = "^3.8.4"
statsmodels = {version = ">=0.14.2", optional = true}
matplotlib = {version = ">=3.8.4", optional = true}
terminaltables = {version = ">=3.1.10", optional = true}
[tool.poetry.extras]
pusht = ["gym-pusht"]
xarm = ["gym-xarm"]
aloha = ["gym-aloha"]
umi = ["imagecodecs"]
compare = ["statsmodels", "matplotlib", "terminaltables"]
dev = ["pre-commit", "debugpy"]
test = ["pytest", "pytest-cov"]
umi = ["imagecodecs"]
[tool.ruff]
line-length = 110