NASA-PDS / operations

Tickets for the PDSEN Operations Team
Other
5 stars 1 forks source link

LDD Build has odd Python version error. Build fails #516

Closed thareUSGS closed 4 months ago

thareUSGS commented 4 months ago

Checked for duplicates

Yes - I've already checked

πŸ› Describe the bug

When pushing up a change into a potential "release" branch, I am getting an unknown python version error during the "LDD Build" action.

error: https://github.com/pds-data-dictionaries/ldd-disp/actions/runs/9025068902/job/24800111583#step:5:53

ERROR: Ignored the following versions that require a different python version: 0.3.0 Requires-Python >=3.9; 1.0.0 Requires-Python >=3.9; 1.0.1 Requires-Python >=3.9; 1.1.0 Requires-Python >=3.9; 1.1.1 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement pds.ldd-manager (from versions: none)
ERROR: No matching distribution found for pds.ldd-manager

Not sure how to fix or start to debug.

This new version has a few smaller changes and a bunch of new tests and updated docs. The new docs are not getting pushed to https://pds-data-dictionaries.github.io/ldd-disp so maybe something to check also.

πŸ•΅οΈ Expected behavior

dev and release versions built once I commit a branch with changes (with updated docs).

πŸ“œ To Reproduce

1. commit change
2. build error here:
https://github.com/pds-data-dictionaries/ldd-disp/actions/runs/9025068902/job/24800111583#step:5:53

πŸ–₯ Environment Info

- Operating System: [e.g. Windows 10 Enterprise with Docker Desktop v3.3.14]
'''
Run NASA-PDS/gh-action-pds4-ldd@main
  with:
    data_path: /home/runner/work/ldd-disp/ldd-disp/build/development/59b169995cccb0dc3cfbefe97ed259555ae473f8/1.17.0.0
    pds4_im_version: 1.17.0.0
    test_path: /home/runner/work/ldd-disp/ldd-disp/test/
    logs_path: /home/runner/work/ldd-disp/ldd-disp/logs
    token: ***
    enable_content_validation: false
  env:
    REGRESSION_TEST_PATH: /home/runner/work/ldd-disp/ldd-disp/test/
    LOGS_PATH: /home/runner/work/ldd-disp/ldd-disp/logs
    DEPLOY_PATH: /home/runner/work/ldd-disp/ldd-disp/build/development/59b169995cccb0dc3cfbefe97ed259555ae473f8
    pythonLocation: /opt/hostedtoolcache/Python/3.7.17/x64
'''

βš™οΈ Engineering Details

Assigned i&t.skip label since this is very much in the weeds of the tools, so really hard to test. If other tests are successful, this should also be successful.

jordanpadams commented 4 months ago

@thareUSGS no idea what is going on here. from your branch, it looks like something got all out of whack:

This branch is 67 commits ahead of, 95 commits behind main.

So I created a new PR with what I believe was changed on your branch, and it built as expected. Let me know if this does not solve your issue.

https://github.com/pds-data-dictionaries/ldd-disp/pull/36