future-oxygen-10553
08/05/2022, 3:45 PMpep621_requirements
target. I’ve more-or-less copied the code for poetry_requirements
and changed a few names, and where the parser looks for the dependencies in the pyproject.toml
filefuture-oxygen-10553
08/05/2022, 3:46 PMValueError
: ValueError: The value pyproject.toml must be wrapped in an iterable (e.g. a list).
future-oxygen-10553
08/05/2022, 3:47 PMfuture-oxygen-10553
08/05/2022, 3:47 PMAddress
.future-oxygen-10553
08/05/2022, 3:48 PMpoetry_requirements
works… I can’t see anything I’ve changed that would result in this particular errorfuture-oxygen-10553
08/05/2022, 3:49 PMInvalidFieldTypeException: The 'sources' field in target src/experiment_service/pyproject.toml:experiment_service_requirements must be an iterable of strings (e.g. a list of strings), but was `'pyproject.toml'` with type `str`.
proud-dentist-22844
08/05/2022, 4:44 PMpep621_requirements
. I would love to get away from requirements.txt files.happy-kitchen-89482
08/05/2022, 4:46 PMfuture-oxygen-10553
08/05/2022, 5:01 PMproud-dentist-22844
08/05/2022, 5:14 PMsources="pyproject.toml"
instead of sources=["pyproject.toml"]
. Maybe check your default value to make sure it is a list or tuple.hundreds-father-404
08/05/2022, 5:16 PMSingleSourceField
also, so it's source="pyproject.toml"
proud-dentist-22844
08/05/2022, 7:44 PM