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

HP-2655 | fix: uwsgi has version mismatches with precompiled python libs #315

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

charn
Copy link
Contributor

@charn charn commented Sep 24, 2024

Instead of using libxml2 we can use expat with uwsgi which avoids the version mismatch with precompiled python libraries.

Also ssl is not terminated by uwsgi, so the feature can be disabled.

Refs: HP-2655

@charn charn requested a review from a team September 24, 2024 10:53
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.48%. Comparing base (33f51ca) to head (113ce3e).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #315   +/-   ##
========================================
  Coverage    80.48%   80.48%           
========================================
  Files           91       91           
  Lines         3843     3843           
========================================
  Hits          3093     3093           
  Misses         750      750           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

voneiden
voneiden previously approved these changes Sep 24, 2024
Copy link
Contributor

@voneiden voneiden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems interesting.

Disable ssl for uwsgi.

Refs: HP-2655
lxml and xmlsec were installed as prebuilt python wheels. This
caused version mismatch with uwsgi which was built against
xmlsec1 and libxml2 libraries installed in the Dockerfile.

lxml and xmlsec will now be compiled against the same libraries
as uwsgi to avoid version mismatch issue.

Refs: HP-2655
Copy link

sonarcloud bot commented Sep 24, 2024

@charn charn requested review from voneiden and a team September 24, 2024 13:16
@charn charn merged commit 69e9aa2 into develop Sep 24, 2024
5 checks passed
@charn charn deleted the HP-2655-fix-version-mismatch branch September 24, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants