Skip to content

Conversation

@aidalgol
Copy link
Contributor

Update vsTAAmbk to try fixing the build. The build gets further, and is now failing at the pythonCatchConflictsPhase.

pythonCatchConflictsPhase
/nix/store/q2zpnf017gccs9w9mb0ikdqhkf0k5v82-catch_conflicts.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Found duplicated packages in closure for dependency 'vsutil': 
  vsutil 0.6.0 (/nix/store/vpg7qszfkwy4x037rvfczs2qk1pgajbp-vapoursynth-65-with-plugins/lib/python3.11/site-packages)
  vsutil 0.6.0 (/nix/store/qbwy0xpvmsiyj4pi6f5sa23sy1bar8pf-python3.11-vsutil-unstable-2021-10-23/lib/python3.11/site-packages)

Package duplicates found in closure, see above. Usually this happens if two packages depend on different version of the same dependency.

I can't figure out the root cause, or why it is not happening with other plugins that depend upon vsutil (directly or indirectly).

@aidalgol aidalgol requested a review from sbruder November 20, 2023 23:32
@aidalgol aidalgol changed the title [BROKEN] vsTAAmbk: 0.8.1 -> 0.8.2 vsTAAmbk: 0.8.1 -> 0.8.2 Nov 20, 2023
@sshiroi
Copy link

sshiroi commented Nov 21, 2023

Im only 80% sure since its been very long time but If i remember correctly its because as in the error message the python module is present twice once as regular dependecy and once from the vapoursynth withPlugins call in the checkInputs.

I filter out all python plugins for the test phases.

https://github.com/sshiroi/vs-overlay/blob/0818757d94d6367bdc6ae4ab576fe078fef2fb9e/build-support/pythonfunc_singlefile.nix#L36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants