Skip to content

Commit

Permalink
update required deps
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy committed Feb 24, 2022
1 parent 716a46e commit 3b2fc99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions requirements/default.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
celery>=5.2.1,<6.0
django-timezone-field>=4.1.0,<5.0
celery>=5.2.3,<6.0
django-timezone-field>=4.2.3
python-crontab>=2.3.4

2 comments on commit 3b2fc99

@michaelkuty
Copy link

@michaelkuty michaelkuty commented on 3b2fc99 Feb 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I getting 'zoneinfo.ZoneInfo' object has no attribute 'normalize' right now when celery beat scheduler is starting, could be this related to this change ?

django_celery_beat/tzcrontab.py in nowfunc at line 31

            day_of_month=day_of_month,
            month_of_year=month_of_year, nowfun=nowfun, app=app
        )
    def nowfunc(self):
        return self.tz.normalize(
            pytz.utc.localize(datetime.utcnow())
        )```
        
        but when I trying to test it works :thinking: 
        
   another error `zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Pacific/Kanton'`

@auvipy
Copy link
Member Author

@auvipy auvipy commented on 3b2fc99 Feb 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code might need adjustment

Please sign in to comment.