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

FIKA-2582: Upgrade to v0.14.6 #2

Merged
merged 17 commits into from
Feb 7, 2024

Conversation

octane-typerandom
Copy link

@octane-typerandom octane-typerandom commented Feb 7, 2024

Upgrade to latest 0.14.6 while supporting custom patch.

georgedorn and others added 17 commits June 3, 2021 10:28
* tests: Test against Django 3.1 and 3.2

* flake8: Move doctest import to top of file

* django: Set SECURE_REFERRER_POLICY = None to restore Django<3.1 behavior

* tests: Don't use private method _headers

* Update authentication, remove old salt/unsalt compat from django 1.10

* Drop python 2, django 1.11 support

Yet another travis fix

Fix travis

* Compat shim for CSRF token comparison.

* Remove is_authenticated compat shim

* Silence several warnings

Silence path warning

* Firehose the travis/tox config

* flake8

Co-authored-by: James McKinney <[email protected]>
* Add support for Django 4.0
* Migrate from travis-ci to github actions
* Test github actions badge
* stop letting coveralls break builds for 0% change
…related resources (django-tastypie#1628)

* Added a test case for issue django-tastypie#1627 save failure when a single resource is used with multiple other resource

* Fixed the test case data to contain the correct data to demonstrate the issue

* Fixed an issue where the bundle object identifier with unsaved objects could cause a data loss prevention exception to be thrown due to the create identifier function returning the same value for all unsaved objects. It is now regenerated once saved and stored in the saved_objects list.

* Updated authors for PR django-tastypie#1628

* Fixed new lines issues for code style check
* Add action to automatically approve new contributor build actions

* Quick fix for upstream flake8 change

* unstage
* Update to support Django 4.1

Django 4.1 has changed the name of _sanitize_token to _check_token_format - handle the case(s) where the new name is required to be imported, rather than the old one.

* Update authors

* Update tox.ini to add django 4.1

Add django 4.1 to the tests

* Add Django 4.1 to the workflows

* Add in Django 4.1 support to the readme

* Re-add in 4.0 for completeness

* Remove Python 3.7 from the docs test for 

Certain django versions don't support the old python versions

* Update the cookbook.rst file to store the inlines as a list consistently

* Django removed the _sanitize_token function (which returned a new token) and replaced it with a new function called _check_token_format.   The signature of these two functions is different, handle both cases for backwards compatibility

* Several other changes to support Django 4.1

* Address flake errors

* fix flake error

* update to use a new check_token_format function from compat.py

* Flake issues addressed..

* Fix the flake error - my flake formatter adds two blank lines after an import, but flake doesn't like that when it's inline with other code - it just wants one

* missed on reference to the old way of doing things

* fix the import of the check_token_format function

* Be more deliberate with the import based on the version of Django in use.

* Same import issue
* Drop Django 2.2 from tox and github action
* Pin ubuntu 20.04
* Update to python action v4
* Fix deps missing for docs
* Remove unused mock library from test requirements

* Another last trace of mock library
* Update test matrix for django 4.2

* Exclude py3.6-dj4.2
* Fix flake8, update docs, fix RTD builds

* One more flake8
* Update authors
* Remove Python 3.7 from the docs test for 
* Update the cookbook.rst file to store the inlines as a list consistently
* switch the docs so we don't have a version issue
* exclude python 3.6 for django 5
* Remove CryptPasswordHasher for django versions greater than 4.2
* remove 3.9/django 5 combo
* Refactor code to properly use datetime.timezone.utc rather than the deprecated django.utils.timezone.utc
* add in compat functionality to monkey-patch timezone to have a utc attribute/alias
@octane-typerandom octane-typerandom marked this pull request as ready for review February 7, 2024 13:46
@octane-typerandom octane-typerandom merged commit dcd6a90 into master Feb 7, 2024
0 of 20 checks passed
@octane-typerandom octane-typerandom deleted the FIKA-2582-upgrade-to-0-14-6 branch February 7, 2024 13:49
@octane-typerandom
Copy link
Author

Released as 0.14.6.dev0.

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.

8 participants