-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add manual flush #64
Add manual flush #64
Conversation
e7e6a2f
to
afe9d6a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 96.35% 96.43% +0.07%
==========================================
Files 12 12
Lines 1180 1205 +25
==========================================
+ Hits 1137 1162 +25
Misses 43 43 ☔ View full report in Codecov by Sentry. |
8ffe382
to
5046440
Compare
@AlexanderWells-diamond how do you feel about deprecating python 3.7? pandablocks-ioc is currently minimum 3.10 so I think it might be time. |
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.
Overall seems ok, but I've got a few questions that I would like answers to before approve/reject.
Also, looking at commit afe9d6a, the commit message is very confusing. It talks about adding PVs, and PVI, neither of which are anything to do with this repository?
That depends entirely on whether we want/need to keep supporting our Diamond-internal use, which is still technically on Python 3.7.2. I have no strong opinions, especially as other related repos have already broken that, but it's worth at least a moment's thought before we do so. |
I think it would be a good idea to deprecate 3.7 now rather than write a workaround to have |
Isn't just using You do make a fair point about end of life. My only defence of keeping using that Python version is that it's still the "standard" at Diamond. |
Ah yep my mistake we can go for |
03b1c34
to
c606213
Compare
439d0e0
to
16fcbb4
Compare
71dcb12
to
f8b57de
Compare
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.
Code seems fine, a few possible enhancements to it. I've also got a set of comments about the generated documentation.
It's not exactly relevant to this PR, but it seems that the docs
and pytest
targets will no longer run on RHEL8 with Python 3.7.2. Something has bumped versions of various dependencies, that means we now see this error:
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2o-fips 27 Mar 2018'. See: https://github.com/urllib3/urllib3/issues/2168
I'm uncertain if this is strictly an issue in Python 3.7, which we currently declare support for in pyproject.toml
, or a specific issue to the Diamond version of Python.
Thanks for the review! I'll investigate this locally. TestedDocs and pytest work locally for me on redhat 8.8 with python 3.7.3 |
f8b57de
to
9adce6d
Compare
1fbe1eb
to
76b605b
Compare
76b605b
to
c3b15b2
Compare
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 to me
c3b15b2
to
30649aa
Compare
@AlexanderWells-diamond We should make sure this is ready before we merge this |
30649aa
to
263cd0b
Compare
Added a new pv to change the flush mode, it can be periodic, manual, or immediate. Added a PVI button for it manual. Adjusted tests to work for it.
263cd0b
to
3693df5
Compare
Corresponding ioc code here