raylim commited on
Commit
61be48a
·
unverified ·
1 Parent(s): 7bdb8f6

Fix Python version compatibility for Hugging Face Spaces

Browse files

- Update requires-python to '>=3.10,<3.12' to match mussel dependency
- Change .python-version to 3.11 (within compatible range)
- Resolves 'Package mussel requires a different Python' error

Files changed (2) hide show
  1. .python-version +1 -1
  2. pyproject.toml +1 -1
.python-version CHANGED
@@ -1 +1 @@
1
- 3.10
 
1
+ 3.11
pyproject.toml CHANGED
@@ -7,7 +7,7 @@ name = "mosaic"
7
  version = "0.1.0"
8
  description = "Mussel-Aeon-Paladin workflow for digital pathology"
9
  readme = "README.md"
10
- requires-python = ">=3.10"
11
  dependencies = [
12
  "gradio>=5.49.0",
13
  "lightning>=2.6.0",
 
7
  version = "0.1.0"
8
  description = "Mussel-Aeon-Paladin workflow for digital pathology"
9
  readme = "README.md"
10
+ requires-python = ">=3.10,<3.12"
11
  dependencies = [
12
  "gradio>=5.49.0",
13
  "lightning>=2.6.0",