제 프로젝트가 사용하는 의존성 하나를 수정하고 싶어요. 그 의존성인 kivy(https://kivy.org/)에는 선택적 의존성이 몇 가지 있고 cython으로 네이티브 모듈을 컴파일하는데, 제 프로젝트에는 특정 조합(실은 아무것도 없음)이 필요하고 kivy 자체 테스트에는 [dev,full]이 필요해요.
두 프로젝트는 필요한 설정이 달라서 venv를 공유할 수 없지만, 양쪽 프로젝트에서 변경을 쉽게 테스트하려면 각각 kivy가 editable 모드로 설치되어 있어야 해요.
덧붙이면, 여러 python 버전을 차례로 테스트하면서 각각 별도의 editable 모드 venv를 쓰는 경우에도 같은 제약이 있을 것 같아요.
이런 구성을 작동시키는 방법을 아시는 분 있나요?
영어에서 번역·원문 보기I'd like to make changes to a dependency used by one of my projects. This dependency (kivy (https://kivy.org/)) offers several optional dependencies and compiles some native modules using cython, with my project needing a particular selection (in fact none), while kivy's own tests need [dev,full].
The projects need different configurations, so sharing a venv between them won't work, but each still needs kivy installed in editable mode so that I can easily test a change in both projects.
As an aside, I think the same constraints apply when gradually testing several python versions, using separate editable-mode venvs for for that purpose.
Does anyone know how to make this arrangement work?