mypy - FSM - #940
Conversation
|
Used pybind11-stubgen to automatically generate the stubs for However, after running that we get: That probably means that the In the case of the The stubs for |
|
I've looked into this, and the issue with the faulty bindings type generation lies in the binding source in the @PawelPlesniak, @miruuna, let's discuss this on Thursday. |
|
Conversation regarding the required changes in |
|
Thank you @miruuna and @jamesturner246 I can take a look at the |
|
Thanks @PawelPlesniak. I hate to say it, but in this case the effort of merging versus quickly redoing the same changes in a fresh branch may be better in the latter. Sorry for the noise @miruuna I'm away on leave from tomorrow until the 27th. FYI |
…s instantiated from the base class only
|
The current failure of the |
|
Integ tests passed on
|
|
Hi, apologies for the time taken to get back to this - I am a bit lost now. Are we waiting for the two PRs in |
|
Hi Miruna, yes sorry, especially about how long this has been waiting. I am in the process of finalizing those two PRs for review. If you could look at my commits to this to ensure that they are OK, we can get this merged in ASAP. |
|
The two PRs have been marked as ready for review. Once merged, we will be able to merge this PR too. |
|
For a status update on this, the following PRs have gone in
The stubs generated from signature checking using Addressing this remaining issue should make the last Remaining |
|
The changes required to address DUNE-DAQ/daq-cmake#174 are delayed by a few days once the developer returns from AL. As a reminder, these changes refer to the distribution of stub files through CVMFS. As we will not have |
Thanks @PawelPlesniak for the updates. I'll be working on getting these errors fixed today. |
|
Thanks Miruna, I have previously had these errors addressed when the I will report here with the results of my checks later today |
|
My apologies for not having looked at this yesterday. As there have been no commits to this branch since the last set of integration tests, I have opted to only run the minimum system quick test to validate that there is no breaking functionality, which succeeded. To validate these changes for the which succeeded as Note - for the This can and should be used for the remainder of the |
PawelPlesniak
left a comment
There was a problem hiding this comment.
Thank you Miruna, and sorry about the gross delay from when you did this to when it got reviewed.
Description
Fixes issue #846
Added type hints to
src/drunc/fsm/. AllProtocolsare found infsm/_protocols.py.The relevant changes in the user workflow have been documented here (link URL)
Type of change
List of required branches from other repositories
None
Change log
Made
fsmmypy compliant.Suggested manual testing checklist
mypy src/drunc/fsm --follow-imports=silent- silent is needed as the other imports are not mypy compliant yetpytest src/drunc/fsmPrior to marking this as "Ready for Review"
Tests ran on: local device
Unit tests - some tests can't be ran on the CI. This is documented. If this PR checks a feature that can't be tested with CI, this has been marked appropriately.
Integration tests - the
daqsystemtest_integtest_bundlerequires a lot of resources, and connections to the EHN1 infrastructure. Check the cross referenced list if you can't run these. The developer needs to run at least the .pytest --marker) passeddaqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pydaqsystemtest_integtest_bundle.sh./scripts/drunc_integtest_bundle.sh)Final checklist prior to marking this as "Ready for Review"
Reviewer checklist
src/daqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pyifdaqsystemtest_integtest_bundle.shdruncare in the log filesdruncfailure appears:scripts/drunc_integtest_bundle.sh)Once the above boxes are checked, the PR(s) can be merged following the steps below.
Choose one of the following an complete all substepsPrior to merging
Once completed, the reviewer can merge the PR.
Notification message for a Slack channel
Note - this should be to #dunedaq-integration for general workflow that isn't during a release candidate period, and to #daq-release-prep otherwise.
For an single merge that changes the user workflow
For co-ordinated merge