Skip to content

Run tests with latest dependencies#818

Merged
JoelLefkowitz merged 5 commits intoaxnsan12:1.21.xfrom
nikosmichas:run-tests-with-new-dj-drf
Feb 8, 2023
Merged

Run tests with latest dependencies#818
JoelLefkowitz merged 5 commits intoaxnsan12:1.21.xfrom
nikosmichas:run-tests-with-new-dj-drf

Conversation

@nikosmichas
Copy link
Copy Markdown
Contributor

I wanted to use this library in a new project and I noticed that tests do not run with latest Django & DRF versions

  • Added entries in tox for:

  • Django 4.0 & 4.1

  • DRF 3.13 & 3.14

  • Python 3.10

  • Updated psycopg2-binary in test requirements to run with Python 3.10

  • Fixed an AttributeError raised because of a deprecation in DRF

@StevenMapes
Copy link
Copy Markdown

From my own uses of this project is works on Python up to 3.10 with Django up to 4.1. It is not Python 3.11 compatible due to ruamel-yaml-clib not supporting Python 3.11. Issue #833 suggests moving to PyYAML instead which is the default YAML serializer for Django which would probably resolve that issue as well

@JoelLefkowitz JoelLefkowitz added the 1.21.x Release target in 1.21.x label Feb 8, 2023
@JoelLefkowitz JoelLefkowitz changed the base branch from master to 1.21.x February 8, 2023 10:05
@JoelLefkowitz
Copy link
Copy Markdown
Collaborator

@nikosmichas, thanks for the PR. Im changing the base to 1.21.x so the tests can run with latest set of release changes. The NullBooleanField changes have been handled in #814 and are present there too.

@nikosmichas
Copy link
Copy Markdown
Contributor Author

Tests are failing because github no longer supports py36 for GH actions. I will take a look on this.

@JoelLefkowitz
Copy link
Copy Markdown
Collaborator

Tests are failing because github no longer supports py36 for GH actions. I will take a look on this.

Thanks @nikosmichas, this is now fixed in the last commit

@JoelLefkowitz JoelLefkowitz merged commit 19e5ab2 into axnsan12:1.21.x Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21.x Release target in 1.21.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants