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

drop carbon setup.py hack and use carbon 0.9.15 #428

Merged
merged 1 commit into from Apr 28, 2016

Conversation

ktdreyer
Copy link
Member

@ktdreyer ktdreyer commented Apr 28, 2016

Prior to Carbon 0.9.11, Carbon's setup.py script would install files to /etc/init.d. To avoid this behavior, Calamari's Makefile used sed to rewrite setup.py and stop doing that.

Newer versions of Carbon have dropped this mis-feature, so we can now rely on the stock version from PyPI without the hack.

Drop the custom Makefile bits that rewrote carbon's setup.py script. Add carbon to the production requirements.txt. (0.9.15 is the latest upstream version at the time of this commit.)

Thanks @dmick for helping with investigating this issue.

This change has the side effect of giving us compatibility with Ubuntu Xenial's pip v8.1.1. Pip 8 has no longer supports the --no-install and --no-download arguments to pip install.

@ktdreyer
Copy link
Member Author

I'm not touching the 2.6 requirements.txt files here, and I'm thinking those should probably just be dropped from the 1.4 tree at this point to avoid clutter.

@dmick
Copy link
Member

dmick commented Apr 28, 2016

Not doing 2.6 is tantamount to removing support for CentOS 6. I'm fine with that in principle as long as that's what we're claiming supportwise (we should be).

@dmick dmick self-assigned this Apr 28, 2016
@dmick
Copy link
Member

dmick commented Apr 28, 2016

I dunno what's up with travis; do we care?

@ChristinaMeno
Copy link
Contributor

@ktdreyer @dmick Yes I think it's time to cull some supported targets upstream.
Centos6 and precise for sure. Trusty once we've got xenial

I'm taking a look at why Travis is unhappy, he was passing this branch last week.

Prior to Carbon 0.9.11, Carbon's setup.py script would install files to
/etc/init.d. To avoid this behavior, Calamari's Makefile used sed to
rewrite setup.py and stop doing that.

Newer versions of Carbon have dropped this mis-feature, so we can now
rely on the stock version from PyPI without the hack.

Drop the custom Makefile bits that rewrote carbon's setup.py script. Add
carbon to the production requirements.txt. (0.9.15 is the latest
upstream version at the time of this commit.)

Thanks @dmick for helping with investigating this issue.

This change has the side effect of giving us compatibility with Ubuntu
Xenial's pip v8.1.1. Pip 8 has no longer supports the "--no-install" and
"--no-download" arguments to "pip install".
@ktdreyer
Copy link
Member Author

I've rebased this to incorporate the latest .travis.yml change, and now it passes on Travis CI.

@ChristinaMeno ChristinaMeno merged commit 8e59087 into ceph:1.4 Apr 28, 2016
@ktdreyer ktdreyer deleted the simplify-carbon branch April 28, 2016 18:48
@dmick dmick assigned ChristinaMeno and unassigned dmick Apr 28, 2016
@ktdreyer
Copy link
Member Author

Unfortunately this broke the RPM build (in mock) in a different way, and the fix is in #434

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.

None yet

3 participants