[Bug 280220] mail/py-django-mailman3: MIssing dependency on py-pytz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Jul 2024 19:51:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280220 Bug ID: 280220 Summary: mail/py-django-mailman3: MIssing dependency on py-pytz Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: einar@isnic.is Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) https://cgit.freebsd.org/ports/commit/?id=020f24b34ab884706bc120060d3be73db8ee69ed removed the dependency on devel/py-pytz. Since upgrading I've gotten this error when running cronjobs: /usr/local/bin/django-admin runjobs minutely --pythonpath /usr/local/mailman/web --settings settings Traceback (most recent call last): File "/usr/local/bin/django-admin", line 8, in <module> sys.exit(execute_from_command_line()) File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 412, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 453, in execute self.check() File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 485, in check all_issues = checks.run_checks( File "/usr/local/lib/python3.9/site-packages/django/core/checks/registry.py", line 88, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/usr/local/lib/python3.9/site-packages/django/core/checks/urls.py", line 42, in check_url_namespaces_unique all_namespaces = _load_all_namespaces(resolver) File "/usr/local/lib/python3.9/site-packages/django/core/checks/urls.py", line 61, in _load_all_namespaces url_patterns = getattr(resolver, "url_patterns", []) File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.9/site-packages/django/urls/resolvers.py", line 715, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/local/lib/python3.9/site-packages/django/utils/functional.py", line 57, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/local/lib/python3.9/site-packages/django/urls/resolvers.py", line 708, in urlconf_module return import_module(self.urlconf_name) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/local/mailman/web/urls.py", line 32, in <module> path('hyperkitty/', include('hyperkitty.urls')), File "/usr/local/lib/python3.9/site-packages/django/urls/conf.py", line 38, in include urlconf_module = import_module(urlconf_module) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/hyperkitty/urls.py", line 29, in <module> from hyperkitty.api import email as api_email File "/usr/local/lib/python3.9/site-packages/hyperkitty/api/email.py", line 25, in <module> from rest_framework import generics, serializers File "/usr/local/lib/python3.9/site-packages/rest_framework/generics.py", line 9, in <module> from rest_framework import mixins, views File "/usr/local/lib/python3.9/site-packages/rest_framework/mixins.py", line 8, in <module> from rest_framework.response import Response File "/usr/local/lib/python3.9/site-packages/rest_framework/response.py", line 11, in <module> from rest_framework.serializers import Serializer File "/usr/local/lib/python3.9/site-packages/rest_framework/serializers.py", line 29, in <module> from rest_framework.fields import get_error_detail, set_value File "/usr/local/lib/python3.9/site-packages/rest_framework/fields.py", line 30, in <module> from pytz.exceptions import InvalidTimeError ModuleNotFoundError: No module named 'pytz.exceptions' -- You are receiving this mail because: You are the assignee for the bug.