QCoDeS / Qcodes_contrib_drivers

A collection of community-contributed QCoDeS drivers for instruments
https://qcodes.github.io/Qcodes_contrib_drivers/
MIT License
46 stars 81 forks source link

Pin packaging to < 22 for drivers using legacy versions and pin ipython to 8.6 #183

Closed jenshnielsen closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #183 (087c667) into main (c1ed848) will increase coverage by 0.00%. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #183   +/-   ##
=======================================
  Coverage   19.38%   19.38%           
=======================================
  Files         125      126    +1     
  Lines       15700    15701    +1     
=======================================
+ Hits         3043     3044    +1     
  Misses      12657    12657           
Impacted Files Coverage Δ
qcodes_contrib_drivers/__init__.py 100.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

jenshnielsen commented 1 year ago

@jpsecher The QDAC II version comparison logic makes use of legacy versions which have been removed in packaging 22.0. Here I have pinned it to an older version but it would be nice to update the logic to not have this issue.

In QCoDeS we implemented some logic that modifies version numbers to be consistent. Alternatively you may have to implement your own logic. https://qcodes.github.io/Qcodes/api/utils/index.html#qcodes.utils.convert_legacy_version_to_supported_version

jpsecher commented 1 year ago

I have implemented my own version logic (because the first part of the qdac2 version concerns the fpga and has no effect on the driver).

PS: I just realised that I have been replying to these messages from Github by hitting Reply, which then wrongly goes to Jens Hedegaard Nielsen @.***>, so I guess you never got any of the emails I sent, I guess...

Cheers, /JP

On 12/12/2022 12.55, Jens Hedegaard Nielsen wrote:

@jpsecher https://github.com/jpsecher The QDAC II version comparison logic makes use of legacy versions which have been removed in packaging 22.0. Here I have pinned it to an older version but it would be nice to update the logic to not have this issue.

In QCoDeS we implemented some logic that modifies version numbers to be consistent. Alternatively you may have to implement your own logic.

jenshnielsen commented 1 year ago

Cool we can remove the pin once #180 is removed. I was under the impression that if you reply to a email comment they should normally end up here too (but perhaps you need reply all) I don't use email for my github notefications personally so a bit unsure

jpsecher commented 1 year ago

FYI it was a problem with Thunderbird that for some reason has changed the default setting.

Cheers, /JP

On 13/12/2022 15.24, Jens Hedegaard Nielsen wrote:

I was under the impression that if you reply to a email comment they should normally end up here too (but perhaps you need reply all) I don't use email for my github notefications personally so a bit unsure