https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control I agree at first glance it appears like poetry.lock should go in the .gitignore. However, the official docs state that in the case of developing an application (like DTS), one should commit the generated poetry.lock file to version control, as it provides a universal lock on python dependencies, across all minor versions of python specified in the pyproject.toml, and it also speeds up the dependency resolution process. I gather from reading some posts online that some folks do opt to .gitignore their poetry.lock files for shippable applications, relying solely on the pyproject.toml as a source of truth for dependency versions. But, again this approach does not guarantee common dependencies across all the python minor versions supported by the project. I will bring this up at the CI call tomorrow morning for feedback though. On Wed, Dec 11, 2024 at 10:01 AM Thomas Monjalon wrote: > 11/12/2024 15:55, Stephen Hemminger: > > On Wed, 11 Dec 2024 10:00:38 +0100 > > David Marchand wrote: > > > > > On Tue, Dec 10, 2024 at 6:00 PM Stephen Hemminger > > > wrote: > > > > > > > > On Tue, 10 Dec 2024 10:10:39 +0100 > > > > David Marchand wrote: > > > > > > > > > +no_license_list=\ > > > > > +':^.git* :^.mailmap :^.ci/* :^README :^MAINTAINERS :^VERSION > :^ABI_VERSION :^*/Kbuild '\ > > > > > +':^*/README* :^license/ :^config/ :^buildtools/ :^*/poetry.lock '\ > > > > > +':^kernel/linux/uapi/.gitignore :^kernel/linux/uapi/version > :^*.cocci :^*.abignore '\ > > > > > +':^*.map :^*.ini :^*.data :^*.json :^*.cfg :^*.txt :^*.svg > :^*.png' > > > > > + > > > > > > > > What is poetry.lock? > > > > > > I don't know. > > > It looks like some python packaging config for dts, and it is a > generated file. > > > # This file is automatically @generated by Poetry 1.8.3 and should not > > > be changed by hand. > > > > > > Cc: dts maintainers. > > > > > > > > > > Put it in .gitignore then please, and the script will ignore that. > > How is it related? > > I don't like adding versioned files to .gitignore. > (this poetry file is in the repository) > > >