Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD: Add CMake build using scikit-build-core #242

Merged
merged 44 commits into from
Oct 25, 2024

Commits on May 23, 2024

  1. BLD: Initial try at pyproject.toml

    I think I got every key from setup.py.
    The main difference is if the READTHEDOCS environment variable is set: I don't know how to change the dependencies based on that.
    
    On the other hand, given 3.8 is close to or past EOL, I suspect 3.3 is relatively uncommon, and the RTD install, without the unneeded bits, could be accomplished with pip install --no-deps.
    DWesl authored May 23, 2024
    Configuration menu
    Copy the full SHA
    d323dc0 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. BLD,BUG: Fix pyproject.toml configuration and remove setup.py duplica…

    …tes.
    
    numpy.distutils recommends setuptools<60, but that breaks pyproject.toml
    configuration.  I like this way better.  Still needs setup.py for the
    fortran module and for the Cheyenne configuration.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    8322c42 View commit details
    Browse the repository at this point in the history
  2. FIX: Require a setuptools version that understands the configuration.

    setuptools<60 just gets confused, and has no idea what the project name is.
    I just inverted that requirement: not sure if setuptools needs to be more recent still.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    5c169eb View commit details
    Browse the repository at this point in the history
  3. BLD: Start working on a CMake build.

    Works decently as a standalone builder/installer.
    Need to work on packaging for python.
    Scikit-build-core says it's a good option.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    ca51e70 View commit details
    Browse the repository at this point in the history
  4. BLD: Initial Scikit-build attempt.

    I should delete setup.py before too much longer, shouldn't I.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    e88a5bd View commit details
    Browse the repository at this point in the history
  5. STY: Remove execute permissions from python modules.

    Pretty sure none of them are designed to be used that way.
    Also it kept CMake from trying to execute them with sh.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d18ecf5 View commit details
    Browse the repository at this point in the history
  6. BLD: First attempt at OpenMP.

    Can't test locally.  Debating testing in my repo or draft PR.
    DWesl committed May 24, 2024
    Configuration menu
    Copy the full SHA
    4686af4 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    ad35d87 View commit details
    Browse the repository at this point in the history
  2. CI: Check the installed package.

    It's not working, and I'd like to know why.
    DWesl committed May 25, 2024
    Configuration menu
    Copy the full SHA
    937e164 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddcf9eb View commit details
    Browse the repository at this point in the history
  4. FIX: Try to get checks working.

    DWesl committed May 25, 2024
    Configuration menu
    Copy the full SHA
    05657f8 View commit details
    Browse the repository at this point in the history
  5. BLD: Let skbuild handle install dirs when available.

    Only use my versions when skbuild isn't around.
    DWesl committed May 25, 2024
    Configuration menu
    Copy the full SHA
    0df03d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0d38af9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a962d9f View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    028ec66 View commit details
    Browse the repository at this point in the history
  2. CI,DBG: Remove debug section.

    It's not working, and it doesn't look easy to get working on Mac.
    Everything should be working now, so let's check.
    DWesl committed May 26, 2024
    Configuration menu
    Copy the full SHA
    3b9abc9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8944514 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. BLD: Move requirements.txt to pyproject.toml

    Requirements list on RTD is much shorter than elsewhere,
    so do not install the extra packages on RTD.
    
    The last part of setup.py left is the Cheyenne configuration.
    DWesl committed May 27, 2024
    Configuration menu
    Copy the full SHA
    dd8ead2 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. BLD: Do not expect f2py to produce ${modname}-f2pywrappers2.f90

    For some reason this isn't getting written despite every file being .f90 and no file being .f77, so put that in the code.
    DWesl authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    b3557c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. DOC: Note that this should work on Python 3.12

    Update package metadata.
    DWesl authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    0038273 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    b940960 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1f530e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    51cea52 View commit details
    Browse the repository at this point in the history
  2. BLD: Pin NumPy<2

    Let's see if this allows this to build.  I haven't had problems locally with 3.9/1.26
    DWesl authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9654ada View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    7944265 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f84088 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    e41f75e View commit details
    Browse the repository at this point in the history
  2. BUG: Include the f90 wrapper file in the compilation.

    I think I had it earlier, but deleted it from the link line because I thought the library was fixed-form only, rather than making sure it was available for the link line.
    DWesl authored Sep 15, 2024
    Configuration menu
    Copy the full SHA
    379691d View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    b5fdd5f View commit details
    Browse the repository at this point in the history
  2. BLD: Pin numpy<1.26.3

    Let's see if that's the fix that broke the build
    DWesl authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4bde3cf View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    0eed892 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    607cf30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c20f4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef93ca6 View commit details
    Browse the repository at this point in the history
  5. ENH: Make have_wrf_constants a subroutine

    f2py seems to do better with those.
    DWesl authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f914a85 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    46cf6b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b712c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    faeda9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb4ff8e View commit details
    Browse the repository at this point in the history
  5. CI,BUG: Don't run ldd until after python import

    Mac doesn't call it ldd, not sure what it should be.
    DWesl authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    80265d6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9573de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f9f690f View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    e502213 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. BLD: Update python_version to >=3.9 in pyproject.toml

    Don't specify Python version in CMakeLists.txt
    
    Co-authored-by: Katelyn FitzGerald <[email protected]>
    DWesl and kafitzgerald authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    97643e7 View commit details
    Browse the repository at this point in the history