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: Serialize jobenv to envVars PS-15020 #325

Merged
merged 9 commits into from Sep 25, 2020
Merged

Conversation

paperspace-philip
Copy link
Contributor

@paperspace-philip paperspace-philip commented Sep 22, 2020

Fixes serialization of job environment

Test Plan:
Create a job and specify jobEnv parameter. Use command "env" to see if job environment is affected

@paperspace-philip paperspace-philip changed the title Fix: Serialize jobenv to envVars Fix: Serialize jobenv to envVars PS-15020 Sep 22, 2020
@bbatha
Copy link
Contributor

bbatha commented Sep 22, 2020

This seems to fix #322

@lefnire
Copy link

lefnire commented Sep 22, 2020

This worked for me!

pip install git+https://github.com/Paperspace/gradient-cli.git@job-env

running same code from #322, where previously didn't

help="Environmental variables ",
help="Environmental variables (deprecated)",
cls=common.GradientOption,
),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I'd probably just remove this. If you want to support the old flag you can just add it to the --envVars option.

Copy link
Contributor

@worksewell worksewell left a comment

Choose a reason for hiding this comment

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

lgtm once the tests pass

@paperspace-philip paperspace-philip merged commit ed6d570 into master Sep 25, 2020
@PSBOT
Copy link

PSBOT commented Sep 25, 2020

🎉 This PR is included in version 1.0.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@PSBOT PSBOT added the released label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants