Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generation of dependencies[] array #113

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Jan 11, 2024

This fixes #112. I introduced the problem in #110. No internal dependencies were noticed, and these items were listed under external_dependencies instead.

This in turn affected the screenshot builder & bundlefly.

With the bug, the json data about pycamera looks like this:

{
  "dependencies": [],
  "external_dependencies": [
    "adafruit-circuitpython-aw9523",
    "adafruit-circuitpython-busdevice",
    "adafruit-circuitpython-debouncer",
    "adafruit-circuitpython-display-text",
    "adafruit-circuitpython-lis3dh",
    "adafruit-circuitpython-neopixel"
  ],
  "package": true,
  "path": "lib/adafruit_pycamera",
  "pypi_name": "adafruit-circuitpython-pycamera",
  "repo": "https://github.com/adafruit/adafruit_circuitpython_pycamera",
  "version": "0.0.7"
}

it should look like this:

{
  "dependencies": [
    "adafruit_aw9523",
    "adafruit_bus_device",
    "adafruit_debouncer",
    "adafruit_display_text",
    "adafruit_lis3dh",
    "neopixel"
  ],
  "external_dependencies": [],
  "package": true,
  "path": "lib/adafruit_pycamera",
  "pypi_name": "adafruit-circuitpython-pycamera",
  "repo": "https://github.com/adafruit/adafruit_circuitpython_pycamera",
  "version": "0.0.7"
}

Most often I find that I want to check just one kind of artifact
(e.g., mpy files) and this is a quicker syntax than excluding the
other 3 types with 3 --ignores.
@jepler jepler requested review from dhalbert and tekktrik January 11, 2024 15:15
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jepler jepler merged commit 9688876 into adafruit:main Jan 11, 2024
1 check passed
@jepler jepler deleted the fix-dependencies-bundlefly branch January 11, 2024 20:52
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.

Memento Camera Project Bundle not including library dependencies
2 participants