Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Python requirements upgrade and lxml build without binary #34655

Merged
merged 8 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/check-consistent-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
with:
python-version: '3.8'

- name: setup dev for lxml dependency
if: ${{ env.RELEVANT == 'true' }}
run: |
sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev

- name: "Recompile requirements"
if: ${{ env.RELEVANT == 'true' }}
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ jobs:
sudo mkdir -p /data/db
sudo chmod -R a+rw /data/db
mongod &


- name: setup dev for lxml dependency
run: |
sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev

- name: install requirements
run: |
sudo make test-requirements
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/units-test-scripts-user-retirement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: setup dev for lxml dependency
run: |
sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
with:
python-version: "3.8"

- name: setup dev for lxml dependency
run: |
sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev

- name: Update any pinned dependencies
env:
NEW_VERSION: "${{ inputs.version }}"
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx-sandbox/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

chem # A helper library for chemistry calculations
cryptography # Implementations of assorted cryptography algorithms
lxml # XML parser
lxml --no-binary lxml # XML parser
matplotlib # 2D plotting library
networkx # Utilities for creating, manipulating, and studying network graphs
nltk # Natural language processing; used by the chem package
Expand Down
20 changes: 11 additions & 9 deletions requirements/edx-sandbox/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# make upgrade
#
--no-binary lxml

cffi==1.16.0
# via cryptography
chem==1.3.0
Expand All @@ -22,11 +24,11 @@ cryptography==38.0.4
# -r requirements/edx-sandbox/base.in
cycler==0.12.1
# via matplotlib
fonttools==4.49.0
fonttools==4.51.0
# via matplotlib
importlib-resources==6.1.1
importlib-resources==6.4.0
# via matplotlib
joblib==1.3.2
joblib==1.4.0
# via nltk
kiwisolver==1.4.5
# via matplotlib
Expand Down Expand Up @@ -59,21 +61,21 @@ openedx-calc==3.1.0
# via -r requirements/edx-sandbox/base.in
packaging==24.0
# via matplotlib
pillow==10.2.0
pillow==10.3.0
# via matplotlib
pycparser==2.21
pycparser==2.22
# via cffi
pyparsing==3.1.1
pyparsing==3.1.2
# via
# -r requirements/edx-sandbox/base.in
# chem
# matplotlib
# openedx-calc
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via matplotlib
random2==1.0.2
# via -r requirements/edx-sandbox/base.in
regex==2024.4.16
regex==2024.4.28
# via nltk
scipy==1.7.3
# via
Expand All @@ -91,5 +93,5 @@ sympy==1.12
# openedx-calc
tqdm==4.66.2
# via nltk
zipp==3.17.0
zipp==3.18.1
# via importlib-resources
Loading
Loading