Skip to content

Commit c1fcac3

Browse files
authored
Remove restric deps (#84)
1 parent 0dfae77 commit c1fcac3

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning][].
1717
- Allow subset reconstruction
1818
- Allow gradient scaling in the last layer
1919

20+
### Removed
21+
- Remove restrict dependencies. To ensure compatibility with old packages run for example: `uvx --exclude-newer 2024-01-01 hatch run pytest`
22+
2023
### Changed
2124

2225
- Minor code improvements

pyproject.toml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,6 @@ optional-dependencies.doc = [
6767
"sphinxcontrib-katex",
6868
"sphinxext-opengraph",
6969
]
70-
optional-dependencies.restrict = [
71-
"anndata>=0.10.2,<0.11",
72-
"jax<=0.4.20",
73-
"jaxlib<=0.4.20",
74-
"lightning>=2,<2.1",
75-
"numpy>=1.16.1,<2", # for np.linspace
76-
"pandas>=1.2",
77-
"scanpy==1.9.5",
78-
"scikit-learn>=1.5.1",
79-
"scipy>=1.11.3,<1.13",
80-
"scvi-tools==1.0.4",
81-
"session-info2",
82-
"torch>=2.1,<2.4",
83-
"urllib3<2",
84-
]
8570
optional-dependencies.test = [
8671
"coverage>=7.10",
8772
"pytest",
@@ -120,11 +105,6 @@ python = [ "3.10", "3.13" ]
120105
deps = [ "pre" ]
121106
python = [ "3.13" ]
122107

123-
# Test with restricted dependencies (older versions for compatibility)
124-
[[tool.hatch.envs.hatch-test.matrix]]
125-
features = [ "test", "restrict" ]
126-
python = [ "3.10" ]
127-
128108
[tool.hatch.envs.hatch-test]
129109
features = [ "dev", "test" ]
130110

0 commit comments

Comments
 (0)