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
pytest fails to resolve version when built but not installed #874
Comments
I'm encountering the same exception with 3.0.3. When I clone the repository and try to run Radicale, I get:
Installing Radicale via PIP is not an option, as I'm running 1.1.4 alongside while I attempt to upgrade. |
Metadata for the Radicale package must be installed. This means that |
For packaging Radicale for Debian, my build routines include running the testsuite after building the package, by running this command:
mkdir -p debian/python-module-stampdir
HOME="/build/radicale-2.1.10" py.test-3
..but at some point after 2.1.8 (probably commit 062e853) above fails like this:
_________________ ERROR collecting radicale/tests/test_auth.py _________________
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
import(modname)
radicale/init.py:57: in
VERSION = pkg_resources.get_distribution('radicale').version
/usr/lib/python3/dist-packages/pkg_resources/init.py:476: in get_distribution
dist = get_provider(dist)
/usr/lib/python3/dist-packages/pkg_resources/init.py:352: in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
/usr/lib/python3/dist-packages/pkg_resources/init.py:895: in require
needed = self.resolve(parse_requirements(requirements))
/usr/lib/python3/dist-packages/pkg_resources/init.py:781: in resolve
raise DistributionNotFound(req, requirers)
E pkg_resources.DistributionNotFound: The 'radicale' distribution was not found and is required by the application
The text was updated successfully, but these errors were encountered: