-
Notifications
You must be signed in to change notification settings - Fork 430
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
Django 4.0 and Python 3.10 support #528
Merged
Merged
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ed83e7f
Replaced pytz with zoneinfo
ElSaico 928c57c
Fixed tests
ElSaico d1cd8b7
Added Python 3.10 to test suite
ElSaico c2eedc6
Removed now-redundant testing requirement
ElSaico 7c5915e
Bumped minimum django-timezone-field version
ElSaico c4b6567
Upgraded pytest
ElSaico 61deffa
Addressed points made in the PR
ElSaico 25ce820
Merge remote-tracking branch 'upstream/master' into zoneinfo
ElSaico 87658a4
Added Python 3.10 environment to GitHub Actions
ElSaico aeaa113
Removed pytz from new test
ElSaico ff335d5
Fixed test
ElSaico 6cb9079
Added RabbitMQ to GitHub Actions
ElSaico efcf2e2
Fixed apicheck and linkcheck calling wrong Django version
ElSaico da8accc
Fixed flake8 woes
ElSaico 1c4740b
Fixed Sphinx generation warnings
ElSaico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
django_celery_beat/migrations/0016_alter_crontabschedule_timezone.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.0.3 on 2022-03-21 20:20 | ||
|
||
from django.db import migrations | ||
import django_celery_beat.models | ||
import timezone_field.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('django_celery_beat', '0015_edit_solarschedule_events_choices'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='crontabschedule', | ||
name='timezone', | ||
field=timezone_field.fields.TimeZoneField( | ||
default= | ||
django_celery_beat.models.crontab_schedule_celery_timezone, | ||
help_text= | ||
'Timezone to Run the Cron Schedule on. Default is UTC.', | ||
use_pytz=False, verbose_name='Cron Timezone'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
celery>=5.2.3,<6.0 | ||
django-timezone-field>=4.2.3 | ||
django-timezone-field>=5.0 | ||
backports.zoneinfo; python_version<"3.9" | ||
tzdata | ||
python-crontab>=2.3.4 | ||
ElSaico marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
case>=1.3.1 | ||
pytest-django>=2.2,<4.0 | ||
pytz>dev | ||
pytest<4.0.0 | ||
pytest>=6.2.5 | ||
pytest-timeout | ||
ephem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from django.conf.urls import url | ||
from django.urls import path | ||
from django.contrib import admin | ||
|
||
urlpatterns = [ | ||
url(r'^admin/', admin.site.urls), | ||
path('admin/', admin.site.urls), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
our travis CI don't work anymore, I am working on moving to github actions