Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 34281b8
Merge: 1584f6c 22fa0db
Author: Kyle Conroy <[email protected]>
Date:   Mon Oct 7 15:16:16 2024 -0400

    Merge 2.4.15 into release-2.5

commit 22fa0db
Author: Kyle Conroy <[email protected]>
Date:   Mon Oct 7 11:20:56 2024 -0400

    modified publish workflow (#952)

    * modified publish workflow using same as https://github.com/aprsa/ndpolator/blob/main/.github/workflows/on_release.yaml
    * address build wheel warnings
    * bump ubuntu runner to 24.04
    * upgrade cibuildwheel
    * skip failing builds

commit fbde243
Author: Kyle Conroy <[email protected]>
Date:   Thu Oct 3 15:48:13 2024 -0400

    2.4.15 bugfix release (#907)

    * Fix handling of include_times for RVs with compute_times/phases. [#889]
    * GPs on models computed in phase-space will be properly computed based on residuals in time space. [#899]
    * Fix units of requivfrac. [#894]
    * Fix adopting mask_phases from lc_geometry. [#896]
    * Fix population of wavelength array in load function for passbands. [#914]
    * Temporarily cap numpy dependency < 2.0. [#930]
    * Fix installation of phoebe-server CLI script to launch from UI. [#929]
    * Fix passing compute to export_solver with features attached. [#922]
    * sigmas_lnf: change handling of noise-nuissance parameter for RVs to no longer depend on the RV amplitude. [#901]
    * Remove duplicated phoebe-server code. [#940]
    * Fix python 3.12+ support by updating invalid escape sequences. [#948]
    * Improved precision in calculation of constraints. [#945]

    ---------

    Co-authored-by: Kelly Hambleton (Prsa) <[email protected]>
    Co-authored-by: David Jones <[email protected]>
    Co-authored-by: Andrej Prsa <[email protected]>
    Co-authored-by: Matthias Fabry <[email protected]>
    Co-authored-by: Matthias Fabry <[email protected]>
    Co-authored-by: Miroslav Broz <[email protected]>

commit bf850e1
Author: Kyle Conroy <[email protected]>
Date:   Thu Oct 3 11:02:38 2024 -0400

    release GH actions workflow (#949)
  • Loading branch information
aprsa committed Oct 8, 2024
1 parent 86ee666 commit 2306320
Show file tree
Hide file tree
Showing 19 changed files with 301 additions and 1,297 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install phoebe optional modules
run: |
python -m pip install rebound
python -m pip install rebound celerite2 emcee
- name: Install PHOEBE from source
run: |
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Release

on:
workflow_dispatch:
pull_request:
release:
types: [created]

jobs:
build-sdist:
name: Package source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build sdist tarball
run: |
pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

build-wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-13, macos-14]
steps:
- name: Checkout the sources
uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: pp37-* pp38-* pp39-* pp31*-macosx*
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

publish-to-pypi:
if: github.event_name != 'pull_request'
needs: [build-sdist, build-wheels]
name: Publish release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/phoebe
permissions:
id-token: write
steps:
- name: Gather sdist tarball and wheels
uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,21 @@ To understand how to use PHOEBE, please consult the [tutorials, scripts and manu
CHANGELOG
----------

### 2.4.15

* Fix handling of include_times for RVs with compute_times/phases. [#889]
* GPs on models computed in phase-space will be properly computed based on residuals in time space. [#899]
* Fix units of requivfrac. [#894]
* Fix adopting mask_phases from lc_geometry. [#896]
* Fix population of wavelength array in load function for passbands. [#914]
* Temporarily cap numpy dependency < 2.0. [#930]
* Fix installation of phoebe-server CLI script to launch from UI. [#929]
* Fix passing compute to export_solver with features attached. [#922]
* sigmas_lnf: change handling of noise-nuissance parameter for RVs to no longer depend on the RV amplitude. [#901]
* Remove duplicated phoebe-server code. [#940]
* Fix python 3.12+ support by updating invalid escape sequences. [#948]
* Improved precision in calculation of constraints. [#945]

### 2.4.14

* Fix MPI off to not broadcast if never enabled
Expand Down
Loading

0 comments on commit 2306320

Please sign in to comment.