sporniket / the-cradle-colorlight-i9-ecp5-amaranth-hdl

An implementation of "the cradle" for the ECP5-based colorlight i9 written with the Amaranth HDL
GNU Lesser General Public License v3.0
0 stars 0 forks source link

pdm install in directory prints strange warning #8

Closed mcclure closed 1 year ago

mcclure commented 1 year ago

I don't know if this is a real problem. But I tried running pdm install in the project directory to create a venv. This was not necessary (python -m venv also works). When I tried it it printed these errors:


C:\Users\Andi\work\f\other\the-cradle-colorlight-i9-ecp5-amaranth-hdl>python.exe -m pdm install
Lock file does not exist
Updating the lock file...
C:\Users\Andi\AppData\Roaming\Python\Python311\site-packages\pdm\models\candidates.py:584: ExtrasWarning: Extras not found for
setuptools-scm: [toml]
  return filter_requirements_with_extras(
🔒 Lock failed
Unable to find a resolution for amaranth
because of the following conflicts:
  amaranth @ git+https://github.com/amaranth-lang/amaranth@f135226a79fddf5caf894030ac7f49995774c3a7 (from
amaranth-stuff-by-sporniket@git+https://github.com/sporniket/amaranth-stuff@22130d399e82e146aa5a7d4708ec26b002979bab)
  amaranth<0.5,>=0.3 (from
amaranth-boards@git+https://github.com/amaranth-lang/amaranth-boards@91ffa38e788a691464a6873d44537eece72ef76e)
To fix this, you could loosen the dependency version constraints in pyproject.toml. See
https://pdm.fming.dev/latest/usage/dependency/#solve-the-locking-failure for more details.
See C:\Users\Andi\AppData\Local\Temp\pdm-lock-p6kykd8o.log for detailed debug log.
[ResolutionImpossible]: Unable to find a resolution
Add '-v' to see the detailed traceback

I saw this on both the main branch and the 7-does-not-appear-to-build-on-windows branch.

Despite the error, the created venv worked fine. Since your build instructions do not suggest use of pdm I don't know if this is even a problem. Do you think this is a problem…?

sporniket commented 1 year ago

I didn't know about pdm before today, so I will look into it. Thanks for the report.

sporniket commented 1 year ago

Seems to be ok after I updated the lib while migrating to pdm (amaranth-stuff side and this project)

mcclure commented 1 year ago

Can confirm, resolved