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

Run tests with latest dependencies #818

Merged

Conversation

nikosmichas
Copy link
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

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
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
Contributor Author

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

@JoelLefkowitz
Copy link
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.

None yet

3 participants