Skip to content

Commit

Permalink
requirements-dev shouldn't depend on pinned requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Aug 22, 2022
1 parent 5556d13 commit 3a56973
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: install apt packages
# pycurl build requirements
run: |
sudo apt-get update && sudo apt-get -y install \
libcurl4-gnutls-dev \
libgnutls28-dev
- name: install
run: |
sudo apt-get -y install libcurl4-gnutls-dev
python3 -m pip install -r requirements-dev.txt
python3 -m pip install -r requirements.in -r requirements-dev.txt
- name: pip freeze
run: |
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN apt-get update \
npm

# Build requirements
COPY ./requirements.txt /srv/nbviewer/
COPY ./requirements-dev.txt /srv/nbviewer/
RUN python3 -mpip install -r /srv/nbviewer/requirements-dev.txt

Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-r requirements.txt
coverage
invoke>=0.13.0
mock>=1.3.0 # python34 and older versions of mock do not play well together.
Expand Down

0 comments on commit 3a56973

Please sign in to comment.