Closed mikkonie closed 1 year ago
Getting the following conflict locally: pkg_resources.ContextualVersionConflict: (attrs 23.1.0 (/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages), Requirement.parse('attrs<22.0,>=21.2.0'), {'varfish-cli'})
Once I attempt installing the expected depdndencies, the result is:
pkg_resources.ContextualVersionConflict: (attrs 23.1.0 (/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages), Requirement.parse('attrs<22.0,>=21.2.0'), {'varfish-cli'})
Traceback (most recent call last):
File "/home/mikkopen/.virtualenvs/cubi-tk/bin/cubi-tk", line 11, in <module>
load_entry_point('cubi-tk', 'console_scripts', 'cubi-tk')()
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/mikkopen/code/cubi-tk/cubi_tk/__main__.py", line 26, in <module>
from .sea_snap import run as run_sea_snap
File "/home/mikkopen/code/cubi-tk/cubi_tk/sea_snap/__init__.py", line 26, in <module>
from .itransfer_raw_data import setup_argparse as setup_argparse_itransfer_raw_data
File "/home/mikkopen/code/cubi-tk/cubi_tk/sea_snap/itransfer_raw_data.py", line 7, in <module>
from ..snappy.itransfer_common import SnappyItransferCommandBase
File "/home/mikkopen/code/cubi-tk/cubi_tk/snappy/__init__.py", line 56, in <module>
from .varfish_upload import setup_argparse as setup_argparse_varfish_upload
File "/home/mikkopen/code/cubi-tk/cubi_tk/snappy/varfish_upload.py", line 11, in <module>
from varfish_cli.__main__ import main as varfish_cli_main
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/varfish_cli/__main__.py", line 13, in <module>
from varfish_cli.case import run as run_case
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/varfish_cli/case/__init__.py", line 9, in <module>
from varfish_cli.case.list_case import setup_argparse as setup_argparse_list
File "/home/mikkopen/.virtualenvs/cubi-tk/lib/python3.8/site-packages/varfish_cli/case/list_case.py", line 9, in <module>
import attrs
ModuleNotFoundError: No module named 'attrs'
Please format your code with black: make black
.
Tests run fine for me. Had similar issues until I realised that pytest was not called from my venv but from .local/bin
Patch coverage: 93.10%
and project coverage change: -0.11%
:warning:
Comparison is base (
3939f83
) 75.59% compared to head (76fa3cc
) 75.48%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is a pull request for #96.
The new separate template repo cubi-isa-templates can be found here.
This is still a draft, please comment or improve as you need fit. I haven't published the package on PyPI yet and I don't recommend merging this until there's a proper PyPI dependency.
I've been unable to test this locally because I run into some errors with
varfish-cli
dependencies (see below). Some cubi-tk expert might want to tell me what I'm doing wrong.