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

Python 3 Support and Docker Update #136

Merged
merged 57 commits into from
Jul 23, 2020
Merged

Python 3 Support and Docker Update #136

merged 57 commits into from
Jul 23, 2020

Conversation

jaycedowell
Copy link
Member

@jaycedowell jaycedowell commented Feb 3, 2020

This PR adds support for Python 3 through a combination of changes to Bifrost itself as well as a new version of ctypesgen (which also addresses #115). It also updates the Docker GPU image to target Ubuntu 18/CUDA 10.2 (to address #129) and adds the tools in tools to the Python installation.

@coveralls
Copy link

coveralls commented Feb 4, 2020

Coverage Status

Coverage increased (+0.04%) to 61.701% when pulling 36b42a4 on docker-gpu-update into 5cdaa03 on master.

@codecov-io
Copy link

codecov-io commented Feb 4, 2020

Codecov Report

Merging #136 into master will decrease coverage by 0.17%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   58.91%   58.73%   -0.18%     
==========================================
  Files          63       64       +1     
  Lines        5140     5155      +15     
==========================================
  Hits         3028     3028              
- Misses       2112     2127      +15
Impacted Files Coverage Δ
python/bifrost/romein.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd754e6...602908f. Read the comment docs.

jaycedowell added a commit to jaycedowell/bifrost that referenced this pull request Mar 18, 2020
… Updated src/Makefile to try to make the mapped path less fiddly.
@codecov-io
Copy link

codecov-io commented Mar 18, 2020

Codecov Report

Merging #136 into master will increase coverage by 0.44%.
The diff coverage is 62.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   58.53%   58.97%   +0.44%     
==========================================
  Files          65       64       -1     
  Lines        5117     5155      +38     
==========================================
+ Hits         2995     3040      +45     
+ Misses       2122     2115       -7     
Impacted Files Coverage Δ
python/bifrost/__init__.py 80.76% <25.00%> (+0.76%) ⬆️
python/bifrost/portaudio.py 4.02% <25.00%> (+0.64%) ⬆️
python/bifrost/sigproc.py 87.81% <25.00%> (+0.05%) ⬆️
python/bifrost/sigproc2.py 54.24% <33.33%> (+0.21%) ⬆️
python/bifrost/blocks/sigproc.py 24.88% <44.44%> (+1.05%) ⬆️
python/bifrost/block.py 89.86% <50.00%> (+0.06%) ⬆️
python/bifrost/ring2.py 86.70% <50.00%> (+0.04%) ⬆️
python/bifrost/blocks/detect.py 22.58% <60.00%> (+3.93%) ⬆️
python/bifrost/pipeline.py 84.47% <60.00%> (+0.09%) ⬆️
python/bifrost/proclog.py 31.42% <66.66%> (+4.15%) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9140e8...c7a9782. Read the comment docs.

Copy link
Collaborator

@telegraphic telegraphic left a comment

Choose a reason for hiding this comment

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

FWIW I'm keen to see Py3 support, and don't see any showstoppers. Lots of changes but mainly minor Py3 compatibility. Can't comment on fir.cu changes as I haven't used it, and am assuming memory.cpp changes are solid, .

@jaycedowell
Copy link
Member Author

Huh, the FDMT test seems to work now (and passes). Yay.

@jaycedowell
Copy link
Member Author

@telegraphic I'm having problems running some of the "testbench" examples. test_guppi.py and test_guppi_reader.py don't seem to do anything. test_fft_detect.py initially would not run and still throws errors after I tweaked it.

@jaycedowell
Copy link
Member Author

Does anyone have any final comments on this PR or opinions about updating the Bifrost version to 0.9.0? If so, comment now or forever hold your peace.

@jaycedowell jaycedowell merged commit a53b35b into master Jul 23, 2020
@jaycedowell jaycedowell deleted the docker-gpu-update branch July 23, 2020 15:21
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.

7 participants