diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5485d7b3..e0b6cea1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,9 +21,9 @@ jobs: name: Docs ${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf50388f..0c3a8dd9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: pull_request: push: schedule: - - cron: "0 3 * * 1" # Runs 03:00 UT on Mondays + - cron: "0 3 * * 1" # Runs 03:00 UT on Mondays jobs: build: @@ -87,7 +87,7 @@ jobs: meson setup build ninja -j 2 -C build cd build - meson install --destdir=${{ env.Python3_ROOT_DIR }} + meson install --destdir=${{ env.Python3_ROOT_DIR }} - name: Test PEP8 compliance run: flake8 . --count --show-source --statistics @@ -121,18 +121,6 @@ jobs: parallel: true format: cobertura - - name: Create a Windows wheel - if: ${{ matrix.os == 'windows-latest' }} - run: | - mkdir dist - pip wheel . -w dist - - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - path: dist/*.whl - if-no-files-found: warn - finish: name: Finish Coverage Analysis needs: build diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 632a8e26..8ce3e893 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,11 @@ Changelog ========= +2.1.1 (2025-XX-XX) +------------------ +* Updated GitHub Actions versions and removed unused wheel upload +* Fixed broken doc link + 2.1.0 (2025-01-07) ------------------ * Adapted codebase to read IRGF coefficients from a file (updated to IGRF-14) diff --git a/docs/examples/ex_gc.rst b/docs/examples/ex_gc.rst index 5d0fa6ab..8b879595 100644 --- a/docs/examples/ex_gc.rst +++ b/docs/examples/ex_gc.rst @@ -48,7 +48,7 @@ equation layed out in equation 3-28 of Snyder [2]_. gd_lat = np.arctan(np.tan(np.radians(gc_lat)) / (1.0 - e_sq)) return np.degrees(gd_lat) - + The function above requires the first eccentricity of the reference ellipsoid. This example uses the ``pyproj`` library [3]_ to get the WGS84 ellipsoid data, but the function shown will take any float. This lets you decide the level of @@ -70,7 +70,7 @@ then from apex to quasi-dipole. :: import apexpy - + # Define the starting values year = 2015.3 gc_lat = 45.0 @@ -85,9 +85,8 @@ then from apex to quasi-dipole. .. [1] Snay and Soler (1999) Modern Terrestrial Reference Systems (Part 1), - `Professional Surveyor `_. + `Professional Surveyor `_. .. [2] Snyder, J. P. Map projections — A working manual. Professional Paper 1395, U.S. Geological Survey, 1987. `doi:10.3133/pp1395 `_. -.. [3] `pyproj GitHub page `_. +.. [3] `pyproj GitHub page `_. diff --git a/docs/installation.rst b/docs/installation.rst index 1f041969..344b87df 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -107,30 +107,6 @@ Install against an incompatible numpy version pip install apexpy --no-build-isolation --no-cache -Installation using CI Wheels -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -If your local set up is essentially identical to one of the CI test -environments, then you can use one of the wheel artifacts to install -:py:mod:`apexpy`. The list of artifacts may be found -`here `_. - -To download an artifact: - -1. If you don't have a GitHub Personal Access Token, follow - `these instructions `_ - to create one. -2. Run ``curl -v -H "Authorization: token " https://api.github.com/repos/aburrell/apexpy/actions/artifacts//zip``, where - should be replaced with the appropriate item string. -3. Copy the URL from the ``Location`` output produced by the previous command - into a browser, which will download a zip archive into your standard - download location. Alternatively (or if this doesn't work) you can use - `wget` to retrieve the archive. -4. Copy the zip archive into the ``apexpy/dist`` directory and unzip. -5. Check the archive for the expected matrix of ``*.whl`` objects - -To install, use ``pip install .`` - .. _installation-build: Build from Source