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

Add PVAccess information to Table records #8

Closed
wants to merge 35 commits into from
Closed

Conversation

AlexanderWells-diamond
Copy link
Contributor

This PR will generate the proper PVAccess information for (some) tables.

Note that this needs an in-development version of PVI, specifically the tables branch. Further additions to PVI are needed (which require fixes to Phoebus) in order to properly render Tables.

Work to do:

  • Add BITS table support
  • Change Table support when PVI is updated - should be able to use Dynamic tables.

This does now mean we do a lot more re-ordering of the list,
but the alternative is to keep two lists which would more easily
become out of sync.
This applies to any PandA field that returns us a label field.
Tests updated to accomodate this.
Also fixes some mypy errors in tests
Also upgrade to newest pythonSoftIoc which includes waveform of
strings support.
Also adjust typing of some test fixtures to better indicate that
the order of items is important
Also raise exception if initial connect fails.
Also improves the IOC startup, by waiting for a signal rather than
just a flat sleep timer
…nd 3.10/3.11. We should consider 3.10 minimum on pandablocks-ioc
… give a deprecation warning on python 3.10 if you don't
@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@9c6495e). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage        ?   83.34%           
=======================================
  Files           ?        7           
  Lines           ?     1075           
  Branches        ?        0           
=======================================
  Hits            ?      896           
  Misses          ?      179           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…nstall requires). Should hopefully fix the problem of deprecation warnings on python/3.8
to use waits, changed the
mocked_panda_standard_responses to wait
until the MockedAsyncioClient is set up
before proceeding with the test.
to allow bobfiles time to be written
in the subprocess. Changed to pvi>=0.5
and python>=3.10
@evalott100
Copy link
Contributor

@AlexanderWells-diamond Can we do this merge?

@evalott100 evalott100 marked this pull request as ready for review September 1, 2023 10:16
@evalott100 evalott100 closed this Sep 1, 2023
@evalott100 evalott100 mentioned this pull request Sep 1, 2023
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.

4 participants