Skip to content

Commit bd55b75

Browse files
committed
fix(72): Ensure the correct requirements file is always taken
1 parent 5e75665 commit bd55b75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ commands:
7171
name: "Apply dependency constraints"
7272
command: |
7373
if [ "<< parameters.pytest >>" != "" ]; then
74-
sed -i 's/pytest/pytest=<< parameters.pytest >>/g' << parameters.use_specific_requirements_file >>
74+
sed -i 's/^pytest/pytest=<< parameters.pytest >>/g' << parameters.use_specific_requirements_file >>
7575
fi
7676
echo "" >> << parameters.use_specific_requirements_file >>
7777
if [ "<< parameters.extra_deps >>" != "" ]; then
@@ -85,7 +85,7 @@ commands:
8585
command: |
8686
micromamba create -n project
8787
channels=$(echo << parameters.channels >> | sed "s/ / -c /g")
88-
requirements=$(cat requirements.txt | tr '\n' ' ')
88+
requirements=$(cat << parameters.use_specific_requirements_file >> | tr '\n' ' ')
8989
micromamba install -n project -y python=<< parameters.python >> pip $requirements -c $channels
9090
- run:
9191
name: "Install project in environment"

requirements.dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pytest
44
requests
55
black
66
isort
7-
flake8=6.0.0
7+
flake8=6.1.0
88
flake8-builtins=2.1.0
99
flake8-simplify=0.19.3
1010
flake8-comprehensions=3.10.1

0 commit comments

Comments
 (0)