loguru icon indicating copy to clipboard operation
loguru copied to clipboard

uv add loguru fails

Open techgoat opened this issue 6 months ago • 6 comments

this is not a production issue, I am a student... perhaps I am the problem; I recently installed and began using uv for my python development studies, and I have some Loguru lessons from 2024 and wanted to run those .py files, but uv complains about the published versions and fails to add loguru...

% uv add loguru __uv_projects/logging (master ⚡) SnappyGoat × No solution found when resolving dependencies: ╰─▶ Because only better-exceptions-fork<=0.1.8.post6 is available and loguru<=0.1.0.post4 depends on better-exceptions-fork>=0.2.1.post6, we can conclude that loguru<=0.1.0.post4 cannot be used. And because only the following versions of loguru are available: loguru==0.1.0 loguru==0.1.0.post0 loguru==0.1.0.post1 loguru==0.1.0.post2 loguru==0.1.0.post3 loguru==0.1.0.post4 loguru==0.7.0 loguru==0.7.2 we can conclude that loguru<0.7.0 cannot be used. (1)

  Because only win32-setctime{sys_platform == 'win32'}<1.0.0 is available and loguru>=0.7.0 depends on win32-setctime{sys_platform == 'win32'}>=1.0.0, we can conclude that
  loguru>=0.7.0 cannot be used.
  And because we know from (1) that loguru<0.7.0 cannot be used, we can conclude that all versions of loguru cannot be used.
  And because your project depends on loguru, we can conclude that your project's requirements are unsatisfiable.

  hint: Pre-releases are available for `loguru` in the requested range (e.g., 0.4.0rc1), but pre-releases weren't enabled (try: `--prerelease=allow`)

help: If you want to add the package regardless of the failed resolution, provide the --frozen flag to skip locking and syncing.

techgoat avatar Jun 07 '25 15:06 techgoat