-
Notifications
You must be signed in to change notification settings - Fork 21
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 versions of python modules not being set in docker images #977
Conversation
… versioning permissions issue
Codecov Report
@@ Coverage Diff @@
## master #977 +/- ##
=======================================
Coverage 93.33% 93.33%
=======================================
Files 136 136
Lines 6861 6861
Branches 697 697
=======================================
Hits 6404 6404
+ Misses 333 332 -1
- Partials 124 125 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #977 +/- ##
==========================================
+ Coverage 92.77% 93.92% +1.15%
==========================================
Files 140 140
Lines 6902 6902
Branches 693 693
==========================================
+ Hits 6403 6483 +80
+ Misses 380 308 -72
+ Partials 119 111 -8
Continue to review full report at Codecov.
|
Co-Authored-By: maxalbert <[email protected]>
@@ -382,7 +382,7 @@ def render_pep440_post(pieces): | |||
|
|||
The ".dev0" means dirty. Note that .dev0 sorts backwards | |||
(a dirty tree will appear "older" than the corresponding clean one), | |||
but you shouldn't be releasing software with -dirty anyway. | |||
but you shouldn't be releasing software with -dirty anyways. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
RUN python setup.py bdist_wheel && pip install dist/*.whl | ||
WORKDIR /app | ||
COPY backend/uwsgi.ini . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What exactly is the purpose of this uwsgi.ini
file? Should this be included in the distribution instead (e.g. via MANIFEST.in
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It configures uwsgi, which is serving the app in combination with nginx. So is deployment-side rather than distribution side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
Closes #818
I have:
Description
Uses versioneer's ability to infer a version number from a source tree to set the version numbers for python modules inside docker containers.