Skip to content

Conda - Add environments for Python 3.14 - #40

Merged
j-amma merged 3 commits into
mainfrom
ptyhon_314
Oct 28, 2026
Merged

j-amma merged 3 commits into
mainfrom
ptyhon_314

Conversation

@jomey

@jomey jomey commented Oct 25, 2026

Copy link
Copy Markdown
Member

Start switching to a more recent Python version and corresponding libraries.

Start switching to a more recent Python version and corresponding
libraries.
@jomey

jomey commented Oct 26, 2026 •

Copy link
Copy Markdown
Member Author

@brentwilder - If you have a quick second, I would be curious if this now conda env resolves on Mac OS, when adding these two:

  - clang_osx-64
  - llvm-openmp

Those should be the only Mac specific ones we need.

@brentwilder

Copy link
Copy Markdown
Contributor

@brentwilder - If you have a quick second, I would be curious if this now conda env resolves on Mac OS, when adding these two:

  - clang_osx-64
  - llvm-openmp

Those should be the only Mac specific ones we need.

Tried this but it fails to pip install smrf. I was able to get the above to build when I pinned python=3.10.

@jomey

jomey commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Tried this but it fails to pip install smrf. I was able to get the above to build when I pinned python=3.10.

If only I had a Mac. A smaller step could be to try to install topocalc via make install in this environment and check whether that is the culprit.

The environment successfully resolves though on a Mac?

This allows us to switch to the blosc_lz4 algorithm for faster speed and
use of multiple cores.
@j-amma

j-amma commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

@jomey Where do we stand on this? I can debug this tomorrow as needed.

@jomey

jomey commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

@jomey Where do we stand on this? I can debug this tomorrow as needed.

Still needs an investigation. Would be great to add a working Mac OS X yaml to this. Feel free to just push onto this branch

Updated to reflect python 3.14 upgrades through the codebase.
@j-amma

j-amma commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

I was able to build all components on macOS using the yaml @jomey proposed (fb37ec9) after updating the topocalc pyproject.toml (iSnobal/topocalc#19)

@jomey
jomey marked this pull request as ready for review October 28, 2026 21:54
@jomey
jomey requested a review from a team October 28, 2026 21:55

@j-amma j-amma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Simplified environment yamls (for linux and macos ) that reflect project-wide upgrades to python 3.14

@j-amma
j-amma merged commit e94c1bd into main Oct 28, 2026
@j-amma
j-amma deleted the ptyhon_314 branch October 28, 2026 22:13
@jomey jomey added the Environment All issues related to setting up the Python environment label Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Environment All issues related to setting up the Python environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants