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(openchallenges): specify older version of python to match pyproject #2983

Merged

Conversation

vpchung
Copy link
Member

@vpchung vpchung commented Jan 28, 2025

Changelog

Preview

Before Dockerfile update

$ nx run openchallenges-data-lambda:invoke --event events/event.json

> nx run openchallenges-data-lambda:invoke --event events/event.json

> curl -X POST 'http://localhost:9000/2015-03-31/functions/function/invocations' --data @events/event.json

{"errorMessage": "Unable to import module 'app': No module named 'gspread'", "errorType": "Runtime.ImportModuleError", "requestId": "", "stackTrace": []}

After

$ nx run openchallenges-data-lambda:invoke --event events/event.json

> nx run openchallenges-data-lambda:invoke --event events/event.json

> curl -X POST 'http://localhost:9000/2015-03-31/functions/function/invocations' --data @events/event.json

{"statusCode": 200, "body": "{\"message\": \"Data successfully pulled from OC Data google sheet.\"}"}

@vpchung vpchung self-assigned this Jan 28, 2025
@vpchung vpchung changed the title chore(openchallenges): specify older version of python to match pyproject fix(openchallenges): specify older version of python to match pyproject Jan 28, 2025
@tschaffter tschaffter merged commit a425209 into Sage-Bionetworks:main Feb 3, 2025
13 checks passed
rrchai pushed a commit to rrchai/sage-monorepo that referenced this pull request Feb 4, 2025
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