Skip to content

Conversation

danielhollas
Copy link
Collaborator

@danielhollas danielhollas commented Sep 29, 2025

bpython is an alternative interactive shell, basically lighter-weight ipython.
Both can be used for the verdi shell command, ipython is installed by default,
while bpython is installed via optional 'bpython' extras.

Minimum version was bumped to 0.20, which is the first version to support python 3.9.
I've removed the upper pin, so that new versions can naturally track new python versions.

See bpython changelog: https://github.com/bpython/bpython/blob/main/CHANGELOG.rst

In the future we might wanna consider droping bpython to simplify, but at least in terms of maintanence there's not a lot of code (see src/aiida/cmdline/utils/shell.py, it's literally just one function).

bpython is an alternative interactive shell,
basically lighter-weight ipython. Both can be used
for the `verdi shell` command, ipython is installed
by default, while bpython is installed via optional
'bpython' extras.

Minimum version was bumped to 0.20, which is
the first version to support python 3.9.
I've removed the upper pin, so that new versions
can naturally track new python versions. See bpython changelog:
https://github.com/bpython/bpython/blob/main/CHANGELOG.rst
Copy link

codecov bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.28%. Comparing base (ebc4913) to head (e72b593).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7031      +/-   ##
==========================================
+ Coverage   79.28%   79.28%   +0.01%     
==========================================
  Files         566      566              
  Lines       43796    43796              
==========================================
+ Hits        34718    34720       +2     
+ Misses       9078     9076       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielhollas danielhollas force-pushed the bump-bpython branch 2 times, most recently from 6b04b5d to dc0b86d Compare September 29, 2025 17:01
# .github/actions/install-aiida-core/action.yml
# .readthedocs.yml
required-version = ">=0.7.0"
required-version = ">=0.8.4"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bumped the minimum uv version here to preserver the current "revision" field in uv.lock file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant