Skip to content

Commit

Permalink
Go back to python 3.8 and hopefully fix the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LenaWil committed Sep 30, 2023
1 parent 7570cf9 commit 31fe906
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
DJANGO_ENV: "TESTING"
strategy:
matrix:
python: ["3.10"]
python: ["3.8"]
ubuntu: ["ubuntu-20.04"]
steps:
- name: Checkout code
Expand Down
4 changes: 3 additions & 1 deletion activity_calendar/widgets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Union

from django.forms.widgets import DateTimeInput
from django.utils.timezone import now
from tempus_dominus.widgets import DateTimePicker
Expand Down Expand Up @@ -49,5 +51,5 @@ class NativeDateTimePickerInput(DateTimeInput):
input_type = "datetime-local"


def AutoDateTimePickerInput(*args, **kwargs) -> BootstrapDateTimePickerInput | NativeDateTimePickerInput:
def AutoDateTimePickerInput(*args, **kwargs) -> Union[BootstrapDateTimePickerInput, NativeDateTimePickerInput]:
return NativeDateTimePickerInput()
1 change: 0 additions & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
codecov~=2.1.12 # CodeCov Integration
coverage~=6.4.4 # Code Coverage
django-test-migrations==1.2.0 # Testing migrations
pytest-order
pytest-django
1 change: 0 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ django-debug-toolbar~=3.6.0 # Debug Panel
django-test-migrations==1.2.0 # Testing migrations
black
pytest-django
pytest-order

0 comments on commit 31fe906

Please sign in to comment.