Fix a number of warnings on Ubuntu 24.04. (#289)
* Fix a number of warnings on Ubuntu 24.04.
In particular:
1. Get rid of the fallback path for argcompleter. It
isn't necessary anymore since all versions of argcompleter
support these, and it was confusing mypy.
2. Add in a proper Optional annotation.
3. Use the newer importlib_resources.file API when it is
available.
* Add in appropriate dependency on python3-argcomplete.
Also do a minor refactoring of the dependencies while we
are here.
Signed-off-by:
Chris Lalancette <clalancette@gmail.com>
Showing
- sros2/package.xml 4 additions, 4 deletionssros2/package.xml
- sros2/sros2/api/_artifact_generation.py 2 additions, 2 deletionssros2/sros2/api/_artifact_generation.py
- sros2/sros2/policy/__init__.py 14 additions, 12 deletionssros2/sros2/policy/__init__.py
- sros2/sros2/verb/create_enclave.py 1 addition, 5 deletionssros2/sros2/verb/create_enclave.py
- sros2/sros2/verb/create_keystore.py 1 addition, 5 deletionssros2/sros2/verb/create_keystore.py
- sros2/sros2/verb/create_permission.py 2 additions, 10 deletionssros2/sros2/verb/create_permission.py
- sros2/sros2/verb/generate_artifacts.py 2 additions, 10 deletionssros2/sros2/verb/generate_artifacts.py
- sros2/sros2/verb/generate_policy.py 1 addition, 10 deletionssros2/sros2/verb/generate_policy.py
- sros2/sros2/verb/list_enclaves.py 2 additions, 6 deletionssros2/sros2/verb/list_enclaves.py
Please register or sign in to comment