Skip to content

use pip to install requirements by default#9

Merged
EliAndrewC merged 4 commits intomasterfrom
new_deploy_fixes
Jul 26, 2015
Merged

use pip to install requirements by default#9
EliAndrewC merged 4 commits intomasterfrom
new_deploy_fixes

Conversation

@binary1230
Copy link
Copy Markdown
Contributor

install_deps() now uses pip to install stuff, instead of setuptools

needed for docker

removes an extra step when using puppet

@EliAndrewC need your eyes on this for merge. afterwards I have a bunch of other PR's that change the sideboard branch back to master

This PR should be merged --first--

binary1230 and others added 3 commits June 26, 2015 19:02
- make new function match the name of the old function
- reposition to make the diff look nicer
@binary1230
Copy link
Copy Markdown
Contributor Author

and to be clear, this is currently in use by production deploys for magclassic

Comment thread pavement.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This line will break in Python 2.7 because it explicitly refers to pip3. I know that MAGFest doesn't care about older versions of Python, but most of the Sideboard projects where I work are still on 2.7, and Sideboard is explicitly a single-source project which works on either Python 2.7 or 3.x, so I'd like to keep it that way if possible.

I have at least 3 meetings this morning, but after those are done I can try checking out this branch on my dev box and see what we could put here that would work on both Python versions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok copy that. i can try and figure out if there's a pip command that runs the right version, 2 or 3, depending on how the venv was installed. or maybe we can query the environment for that

Comment thread pavement.py
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@EliAndrewC I changed this path from 'pip3' to 'pip', so should be solid for python2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, that ought to work, so I'll just go ahead and merge and if there are some unexpected Python2 issues I can fix those later.

EliAndrewC added a commit that referenced this pull request Jul 26, 2015
use pip to install requirements by default
@EliAndrewC EliAndrewC merged commit 7f30f4d into master Jul 26, 2015
@EliAndrewC EliAndrewC deleted the new_deploy_fixes branch July 26, 2015 20:40
RobRuana pushed a commit that referenced this pull request Dec 6, 2017
Pull in updates from Magfest's Sideboard
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