Skip to content

CTT-947 support for python 3.12 - #34

Open
andylytical wants to merge 8 commits into
masterfrom
CTT-947/python3.12
Open

CTT-947 support for python 3.12#34
andylytical wants to merge 8 commits into
masterfrom
CTT-947/python3.12

Conversation

@andylytical

@andylytical andylytical commented Aug 16, 2026

Copy link
Copy Markdown
  • use importlib.metadata for version (instead of setuptool's pkg_resources)
  • Renamed glue2/types.py so that in python 3.9 and greater, it doesn't conflict with functool's types.py. (Also changed IPF references from types to glue2types). Credit: @ericblau
  • utils to make lmod cache and compare spider to ipf
  • faq how to compare module spider with ipf
  • Set default Python to 3.12
  • Update required python >=3.6 and <=3.12

use importlib.metadata for version
* pkg_resources was removed from setuptools
* removes dependency on setuptools

fixup grep WARNING

utils to make lmod cache and compare spider to ipf

faq how to compare module spider with ipf

Renamed glue2/types.py so that in python 3.9 and greater, it doesn't
conflict with functool's types.py.  (Also changed IPF references from types to glue2types)

update uv_installer to 0.12.5

set max python 3.12

set default python to 3.12
@andylytical
andylytical requested a review from ericblau August 16, 2026 21:56
@andylytical andylytical self-assigned this Aug 16, 2026
@andylytical

andylytical commented Aug 17, 2026

Copy link
Copy Markdown
Author

I just noticed I have mk_lmod_cache.sh in two places. I'm going to remove the one from bin/ and leave the one in utils/.

@andylytical andylytical left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I found and fixed a number of minor changes:

  • removed hardcoded paths from setup and utility scripts
  • fixed typos and incomplete instructions in faq

It was ready to go before, but the changes above make things a little more reliable if an end user wants/needs to change defaults (such as install dir).

I will rebase once more before merging.

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