Skip to content

Commit

Permalink
#169: add fixed versions in requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed May 23, 2024
1 parent 68a5925 commit ed89e88
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 19 deletions.
34 changes: 16 additions & 18 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
numba
argparse
alpharaw>=0.3.1
alphatims
alphabase>=1.1.2
peptdeep
progressbar
neptune
seaborn
rocket_fft
xxhash
torchmetrics
directlfq
pythonnet

zstandard

numba==0.59.1
argparse==1.4.0
alpharaw==0.4.5
alphatims==1.0.8
alphabase==1.2.3
peptdeep==1.1.9
progressbar==2.5
neptune==1.10.4
seaborn==0.13.2
rocket_fft==0.2.5
xxhash==3.4.1
torchmetrics==1.4.0.post0
directlfq==0.2.19
pythonnet==3.0.3
zstandard==0.22.0
# not direct dependencies but we have to restrict the versions
scipy==1.12
scipy==1.12.0
16 changes: 16 additions & 0 deletions requirements/requirements_loose.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
numba
argparse
alpharaw>=0.3.1 # test: tolerate_version
alphatims
alphabase>=1.1.2 # test: tolerate_version
peptdeep
progressbar
neptune
seaborn
rocket_fft
xxhash
torchmetrics
directlfq
pythonnet
zstandard
scipy
3 changes: 2 additions & 1 deletion tests/unit_tests/test_requirements.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# 169:import os
import os
import re

import pytest

from packaging.requirements import Requirement

# special comment to tolerate version in loose requirements file
TOLERATE_VERSION_COMMENT = "test:tolerate_version"
TOLERATE_VERSION_COMMENT = "test: tolerate_version"


def _split_at_first_hash(input_string: str) -> tuple[str, ...]:
Expand Down

0 comments on commit ed89e88

Please sign in to comment.