Skip to content

Commit

Permalink
Merge pull request #406 from IATI/update-requirements
Browse files Browse the repository at this point in the history
Update to Python 3.10 and switch to pip-tools
  • Loading branch information
Bjwebb authored Mar 14, 2024
2 parents 7dfc296 + c2f5a1c commit af43727
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
cache: 'pip'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install libxml2-dev libxslt-dev libxslt1-dev python3-dev python3-lxml libxml2-utils
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lxml
flake8
16 changes: 15 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile
#
flake8==7.0.0
# via -r requirements.in
lxml==5.1.0
flake8==7.0.0
# via -r requirements.in
mccabe==0.7.0
# via flake8
pycodestyle==2.11.1
# via flake8
pyflakes==3.2.0
# via flake8

0 comments on commit af43727

Please sign in to comment.