Attention is currently required from: dexter, laforge, neels.

osmith has posted comments on this change by laforge. ( 
https://gerrit.osmocom.org/c/pysim/+/41642?usp=email )

Change subject: setup.py: Align cmd2 minimum version with requirements.txt
......................................................................


Patch Set 1:

(1 comment)

Patchset:

PS1:
> I believe it's worth mentioning that `debian:trixie` provides `2.5. […]
Good points. I think we need to figure out which versions of cmd2 we want to 
support. We could do e.g. the following:

1) Use this patch as-is and just require cmd2 >= 2.6.2 for PySim. We can then 
remove the backwards compatibility code you mentioned in a follow-up patch. The 
big advantage is that users won't have ancient cmd2 versions, against which we 
potentially might have incompatibilities over time without realizing it. It 
would make sense to update the description in README.md for installing pysim to 
rely on pip packages instead of debian packages:

```
$ python3 -m venv .venv
$ . .venv/bin/activate
$ pip install -r requirements.txt
```

2) Require cmd2 >= 1.5 (as before) in both setup.py and requirements.txt, and 
force in contrib/jenkins.sh that cmd2 >= 2.6.2 is installed similar to 
https://gitea.osmocom.org/sim-card/pysim/commit/004b06eab1d89ba2b29d7de9b7747cc2cdd0c8fd.
 This has the advantage that people can still use their older versions from 
distro packages.

We don't build pysim in the Osmocom OBS. Personally I would be fine with 1), 
but maybe others have different opinions. Thoughts?



--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41642?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I71cee0ec3ed2abec68ec567beaab13c868721dad
Gerrit-Change-Number: 41642
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Attention: neels <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Wed, 10 Dec 2025 14:40:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <[email protected]>

Reply via email to