Overview

Request 984261 accepted

- Remove tzdata from the dist metadata, as we neither have nor need
it.
- Follow the rest of the metadata, assuming Py >= 3.6 in order to
avoid import errors on consuming libs.


Benjamin Greiner's avatar

This is required for apscheduler:

[   96s] ____________________ TestTwistedScheduler.test_add_live_job ____________________
[   96s] apscheduler/schedulers/base.py:900: in _create_plugin_instance
[   96s]     plugin_cls = class_container[alias]
[   96s] E   KeyError: 'date'
[   96s] 
[   96s] During handling of the above exception, another exception occurred:
[   96s] tests/test_schedulers.py:913: in test_add_live_job
[   96s]     scheduler.add_job(lambda x, y: x + y, 'date', args=[1, 2],
[   96s] apscheduler/schedulers/base.py:424: in add_job
[   96s]     'trigger': self._create_trigger(trigger, trigger_args),
[   96s] apscheduler/schedulers/base.py:925: in _create_trigger
[   96s]     return self._create_plugin_instance('trigger', trigger, trigger_args)
[   96s] apscheduler/schedulers/base.py:903: in _create_plugin_instance
[   96s]     plugin_cls = class_container[alias] = plugin_container[alias].load()
[   96s] /usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2449: in load
[   96s]     self.require(*args, **kwargs)
[   96s] /usr/lib/python3.8/site-packages/pkg_resources/__init__.py:2472: in require
[   96s]     items = working_set.resolve(reqs, env, installer, extras=self.extras)
[   96s] /usr/lib/python3.8/site-packages/pkg_resources/__init__.py:772: in resolve
[   96s]     raise DistributionNotFound(req, requirers)
[   96s] E   pkg_resources.DistributionNotFound: The 'tzdata; python_version >= "3.6"' distribution was not found and is required by pytz-deprecation-shim
Request History
Benjamin Greiner's avatar

bnavigator created request

- Remove tzdata from the dist metadata, as we neither have nor need
it.
- Follow the rest of the metadata, assuming Py >= 3.6 in order to
avoid import errors on consuming libs.


Matej Cepl's avatar

mcepl accepted request

openSUSE Build Service is sponsored by