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 test failures against Django main #852

Closed
wants to merge 8 commits into from

Conversation

laymonage
Copy link

Fixes #851 (at least for now).

This is built on top of #850, and with a different approach for #847.

imAsparky and others added 8 commits April 13, 2023 15:54
An update to django 4.2 has broken the test suite with error
AttributeError: 'ExtraJoinRestriction' object has no attribute 'contains_over_clause'

The `contains_over_clause = False` attribute added to ExtraJoinRestriction solves the error.
Also update actions/checkout to v3
to support Django 5.0.

The _columns() versions are still retained for compatibility across Django
versions.

Ref: django/django@8b1ff0d
@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #852 (75bd650) into master (8dc5ab0) will decrease coverage by 2.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #852      +/-   ##
==========================================
- Coverage   95.81%   93.48%   -2.33%     
==========================================
  Files           3        9       +6     
  Lines         454      737     +283     
  Branches       96      161      +65     
==========================================
+ Hits          435      689     +254     
- Misses         12       31      +19     
- Partials        7       17      +10     
Impacted Files Coverage Δ
taggit/managers.py 96.26% <100.00%> (+0.07%) ⬆️

... and 6 files with indirect coverage changes

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

@rtpg rtpg mentioned this pull request May 4, 2023
@rtpg
Copy link
Contributor

rtpg commented May 4, 2023

Thank you for the patches, I pulled these changes in (I went for removing Python 3.6 support outright, as its at EOL)

@rtpg rtpg closed this May 4, 2023
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.

Django 5.0 test failures
3 participants