DiamondLightSource / DiamondLightSource/aioca

aioca requires setuptools>=70.1

Open
#71 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

We started getting this error in FastCS where aioca is used as a dev requirement for tests

```
2025-08-07 16:01:09.579 [error] ImportError while loading conftest '/workspaces/FastCS/tests/conftest.py'.

2025-08-07 16:01:09.623 [error] tests/conftest.py:17: in
from aioca import purge_channel_caches
/venv/lib/python3.11/site-packages/aioca/__init__.py:1: in
from epicscorelibs.ca.cadef import DBE_ALARM, DBE_LOG, DBE_PROPERTY, DBE_VALUE
/venv/lib/python3.11/site-packages/epicscorelibs/ca/cadef.py:22: in
from epicscorelibs import path
/venv/lib/python3.11/site-packages/epicscorelibs/path/__init__.py:4: in
from setuptools_dso.runtime import dylink_prepare_dso, find_dso
/venv/lib/python3.11/site-packages/setuptools_dso/__init__.py:10: in
from .dsocmd import DSO, Extension, install, build, build_dso, build_ext, bdist_egg
/venv/lib/python3.11/site-packages/setuptools_dso/dsocmd.py:26: in
_bdist_wheel = _import_bdist_wheel()
^^^^^^^^^^^^^^^^^^^^^
/venv/lib/python3.11/site-packages/setuptools_dso/dsocmd.py:21: in _import_bdist_wheel
from wheel.bdist_wheel import bdist_wheel
/venv/lib/python3.11/site-packages/wheel/bdist_wheel.py:4: in
warn(
E DeprecationWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
```

I have fixed it by adding "setuptools>=70.1" to dev requirements, but should this be a package requirement for aioca?

## Acceptance Criteria
- Can import aioca without error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.