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

Fix CI #401

Merged
merged 6 commits into from
Oct 17, 2023
Merged

Fix CI #401

merged 6 commits into from
Oct 17, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Oct 16, 2023

CI is breaking for a couple of possible reasons:

  • The wrong version of Django is getting installed
  • The new version of mysqlclient requires pkg-config or that you set environment variables
  • other unknown reasons with confusing errors, but possibly only associated with a single branch (feature/add-search-functionality-for-models)

This PR hopefully fixes the issue with an incorrect version of Django being installed by adding a tox setting (constrain_package_deps). It appears that pkg-config may already be installed in the Docker image we're using, so the second is ok? Unclear if it fixes the third.

The new version of mysqlclient requires pkg-config or that you
set environemnt variables, which breaks soem CI. For now, downgrade
the pkg-config requirements so that we can then fix them later. Note
that CI is also breaking for other unknown reasons in a different
branch, so we can see if it breaks here too...
requires you
For some reason, it looks like Django v4.2 is being installed for the
django41 env even though we are requesting 4.1.*. Try specifying the
dependency differently.
though we are requesting
This also requires setting the min tox version to 4.4.0.
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #401 (e9f233f) into main (8f2c902) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #401   +/-   ##
=======================================
  Coverage   99.82%   99.82%           
=======================================
  Files         119      119           
  Lines       22335    22335           
=======================================
  Hits        22295    22295           
  Misses         40       40           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@amstilp amstilp merged commit 16290af into main Oct 17, 2023
16 checks passed
@amstilp amstilp deleted the feature/fix-ci branch October 25, 2023 23:39
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.

None yet

1 participant