Skip to content

Comments

make_fossa_deps_conan.py conan 2.22 graph info compatability#1626

Closed
TheIceman2706 wants to merge 1 commit intofossas:masterfrom
TheIceman2706:patch-1
Closed

make_fossa_deps_conan.py conan 2.22 graph info compatability#1626
TheIceman2706 wants to merge 1 commit intofossas:masterfrom
TheIceman2706:patch-1

Conversation

@TheIceman2706
Copy link

Overview

This PR makes make_fossa_deps_conan.py work with conan 2.22.

Conan now wraps the graph in a "graph" object and exports the nodes as named objects. Also some more information is directly available.

The changes in this PR correspond to the new structure and are actively used at Miele & Cie. KG in multiple CI pipelines to check license compliance.

Acceptance criteria

When users use conan 2.22 for their package management, they can now integrate fossa into their workflow.

Risks

This may break compatibility to earlier conan versions.

Tests

Defining automated tests for this script is not feasible in the current test setup.

References

  • Direct Customer Support

Checklist

  • I added tests for this PR's change (or explained in the PR description why tests don't make sense).
  • If this PR introduced a user-visible change, I added documentation into docs/.
  • If this PR added docs, I added links as appropriate to the user manual's ToC in docs/README.ms and gave consideration to how discoverable or not my documentation is.
  • If this change is externally visible, I updated Changelog.md. If this PR did not mark a release, I added my changes into an ## Unreleased section at the top.
  • If I made changes to .fossa.yml or fossa-deps.{json.yml}, I updated docs/references/files/*.schema.json AND I have updated example files used by fossa init command. You may also need to update these if you have added/removed new dependency type (e.g. pip) or analysis target type (e.g. poetry).
  • If I made changes to a subcommand's options, I updated docs/references/subcommands/<subcommand>.md.

For questions please contact friedrich.may@miele.com (my work email). Submitted on behalf of Miele.

Working with the make_fossa_deps_conan.py script and conan 2.22 some errors were encountered. 

Conan now wraps the graph in  a "graph" object and exports the nodes as named objects. Also some more information is directly available.

The changes in this PR correspond to the new structure and are actively used at Miele & Cie. KG in multiple CI pipelines to check license compliance.

For questions please contact friedrich.may@miele.com (my work email). Submitted on behalf of Miele.
@csasarak
Copy link
Contributor

Thanks for this contribution! Because of the way our CI works, PRs have to be made by a FOSSA employee so I've pulled this change and made a new PR over here: #1629. You will still be credited, thanks!

@csasarak csasarak closed this Jan 12, 2026
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.

2 participants