vikash-nuvai commited on
Commit
9332176
·
1 Parent(s): bbe8627

fix: remove pybullet, fix libgl1 for Docker build on HF Spaces

Browse files
Files changed (4) hide show
  1. Dockerfile +2 -2
  2. pyproject.toml +0 -1
  3. requirements.txt +0 -1
  4. uv.lock +0 -14
Dockerfile CHANGED
@@ -7,9 +7,9 @@ FROM python:3.10-slim
7
  RUN useradd -m -u 1000 user
8
  ENV PATH="/home/user/.local/bin:$PATH"
9
 
10
- # System dependencies for PyBullet (headless OpenGL)
11
  RUN apt-get update && apt-get install -y --no-install-recommends \
12
- libgl1-mesa-glx \
13
  libglib2.0-0 \
14
  libsm6 \
15
  libxrender1 \
 
7
  RUN useradd -m -u 1000 user
8
  ENV PATH="/home/user/.local/bin:$PATH"
9
 
10
+ # System dependencies
11
  RUN apt-get update && apt-get install -y --no-install-recommends \
12
+ libgl1 \
13
  libglib2.0-0 \
14
  libsm6 \
15
  libxrender1 \
pyproject.toml CHANGED
@@ -14,7 +14,6 @@ dependencies = [
14
  "numpy>=1.24.0",
15
  "requests>=2.28.0",
16
  "openai>=1.0.0",
17
- "pybullet>=3.2.5",
18
  ]
19
 
20
  [project.scripts]
 
14
  "numpy>=1.24.0",
15
  "requests>=2.28.0",
16
  "openai>=1.0.0",
 
17
  ]
18
 
19
  [project.scripts]
requirements.txt CHANGED
@@ -5,4 +5,3 @@ pydantic>=2.0.0
5
  numpy>=1.24.0
6
  requests>=2.28.0
7
  openai>=1.0.0
8
- pybullet>=3.2.5
 
5
  numpy>=1.24.0
6
  requests>=2.28.0
7
  openai>=1.0.0
 
uv.lock CHANGED
@@ -2133,18 +2133,6 @@ memory = [
2133
  { name = "cachetools", marker = "python_full_version >= '3.10'" },
2134
  ]
2135
 
2136
- [[package]]
2137
- name = "pybullet"
2138
- version = "3.2.7"
2139
- source = { registry = "https://pypi.org/simple" }
2140
- sdist = { url = "https://files.pythonhosted.org/packages/de/95/b9a98cd4ed948d4f25a7d0b13cb0c1f87e58dc6d113be9e18940641eb25f/pybullet-3.2.7.tar.gz", hash = "sha256:042879db8d101ac7590dee475fc6aded508b85fe1273fdbbfde1d88bd200e14f", size = 80508379, upload-time = "2025-01-30T00:34:00.527Z" }
2141
- wheels = [
2142
- { url = "https://files.pythonhosted.org/packages/2b/e0/45278c039635529fec27814e6ad9c5a87030161f5ce714e017dd70f562f9/pybullet-3.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:814e6b0c035a634b5c46f69065effb085cc451886dda4140576be2f34b461940", size = 103193654, upload-time = "2025-01-30T00:18:52.555Z" },
2143
- { url = "https://files.pythonhosted.org/packages/20/78/a23a300110968586a9dbfd516ccd66906450d57567c9f60cddaeaaf10fa6/pybullet-3.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d858abf7c12a21ef3ed351cf81dac1b5e486ec25c9ab59bfc84beb89034edff", size = 103196742, upload-time = "2025-01-30T00:19:07.063Z" },
2144
- { url = "https://files.pythonhosted.org/packages/95/f4/fe54e47ebf8c8d29b7527fe7650a3fb8786f96c1dd79bde108ce62b29826/pybullet-3.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:438a95e9d53af5b2e9bbf7b12e1846485e58532b57580c5290dee305fa8b4a6b", size = 103193076, upload-time = "2025-01-30T00:19:59.983Z" },
2145
- { url = "https://files.pythonhosted.org/packages/9c/56/99c31efc1d1e82e9209fc2e0461809a727e6286fdf36c24729d28495b97c/pybullet-3.2.7-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5457a2f32ea718bf09c5391a6b7695044c80ac6416571388caa56a0ccf67ba9a", size = 69072722, upload-time = "2025-01-30T00:20:34.231Z" },
2146
- ]
2147
-
2148
  [[package]]
2149
  name = "pycparser"
2150
  version = "3.0"
@@ -2868,7 +2856,6 @@ dependencies = [
2868
  { name = "openai" },
2869
  { name = "openenv-core", version = "0.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
2870
  { name = "openenv-core", version = "0.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
2871
- { name = "pybullet" },
2872
  { name = "pydantic" },
2873
  { name = "requests", version = "2.32.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
2874
  { name = "requests", version = "2.33.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
@@ -2882,7 +2869,6 @@ requires-dist = [
2882
  { name = "numpy", specifier = ">=1.24.0" },
2883
  { name = "openai", specifier = ">=1.0.0" },
2884
  { name = "openenv-core", specifier = ">=0.1.0" },
2885
- { name = "pybullet", specifier = ">=3.2.5" },
2886
  { name = "pydantic", specifier = ">=2.0.0" },
2887
  { name = "requests", specifier = ">=2.28.0" },
2888
  { name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" },
 
2133
  { name = "cachetools", marker = "python_full_version >= '3.10'" },
2134
  ]
2135
 
 
 
 
 
 
 
 
 
 
 
 
 
2136
  [[package]]
2137
  name = "pycparser"
2138
  version = "3.0"
 
2856
  { name = "openai" },
2857
  { name = "openenv-core", version = "0.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
2858
  { name = "openenv-core", version = "0.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
 
2859
  { name = "pydantic" },
2860
  { name = "requests", version = "2.32.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
2861
  { name = "requests", version = "2.33.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
 
2869
  { name = "numpy", specifier = ">=1.24.0" },
2870
  { name = "openai", specifier = ">=1.0.0" },
2871
  { name = "openenv-core", specifier = ">=0.1.0" },
 
2872
  { name = "pydantic", specifier = ">=2.0.0" },
2873
  { name = "requests", specifier = ">=2.28.0" },
2874
  { name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" },