PandABlocks / PandABlocks-ioc

Create an IOC from a PandA
Apache License 2.0
1 stars 5 forks source link

ran copier update #141

Closed evalott100 closed 3 weeks ago

evalott100 commented 3 weeks ago

Are we okay bumping minimum version up to 3.10?

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.78%. Comparing base (4b282e6) to head (6d3b11a). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #141 +/- ## ========================================== + Coverage 91.76% 91.78% +0.02% ========================================== Files 8 8 Lines 1396 1400 +4 Branches 164 164 ========================================== + Hits 1281 1285 +4 Misses 82 82 Partials 33 33 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

evalott100 commented 3 weeks ago

The new deprecation warning is present when trying to get_context in multiprocessing on python 3.12:

Traceback (most recent call last):
  File "/scratch/twj43146/Programming/PandABlocks-ioc/tests/fixtures/mocked_panda.py", line 379, in create_subprocess_ioc_and_responses
    p.start()
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/context.py", line 301, in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/popen_forkserver.py", line 35, in __init__
    super().__init__(process_obj)
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/popen_forkserver.py", line 47, in _launch
    reduction.dump(process_obj, buf)
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.12/lib/python3.12/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
DeprecationWarning: Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14.
evalott100 commented 3 weeks ago

We'll see if https://github.com/DiamondLightSource/python-copier-template/issues/210#issue-2624464726 solution to pypi publishing works here by doing a prerelease.