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

Prepare for the new Ubuntu image on GitHub Actions #2614

Merged
merged 4 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: macos-latest
python: 3.12

name: ${{ format('{0}{1}', matrix.name-prefix, matrix.python) }}
name: ${{ matrix.name-prefix }}${{ matrix.python }}
runs-on: ${{ matrix.os }}
env:
TERM: xterm-256color
Expand All @@ -34,15 +34,14 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- if: ${{ matrix.python != 'pyodide' }}
- if: matrix.python != 'pyodide'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- if: ${{ matrix.python == 'pyodide' }}
python-version: ${{ matrix.python }}
- if: matrix.python == 'pyodide'
uses: actions/setup-python@v5
with:
python-version: 3.11
- if: ${{ matrix.python == 'pyodide' }}
with: {python-version: 3}
- if: matrix.python == 'pyodide'
uses: actions/setup-node@v4
- name: Install
shell: bash
Expand Down Expand Up @@ -74,6 +73,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: {python-version: 3}
- name: Install
run: |
pip install .
Expand Down
2 changes: 1 addition & 1 deletion docs/versioning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Versioning and compatibility

Starting with Hy 1.0.0, Hy is `semantically versioned <https://semver.org>`_. Refer to `the NEWS file <https://github.com/hylang/hy/blob/master/NEWS.rst>`_ for a summary of user-visible changes brought on by each version, and how to update your code in case of breaking changes. Be sure you're reading the version of this manual (shown at the top of each page) that matches the version of Hy you're running.

Hy is tested on `all released and currently maintained versions of CPython <https://devguide.python.org/versions>`_ (on Linux, Windows, and Mac OS), and on recent versions of PyPy and Pyodide. We usually find that for Hy, unlike most Python packages, we need to change things to fully support each new 3.x release of Python. We may drop compatibility with a version of Python after the CPython guys cease maintaining it, and note that we construe such a change as non-breaking, so we won't bump Hy's major version for it. But we will at least bump the minor version, and ``python_requires`` in Hy's ``setup.py`` should prevent you from installing a Hy version that won't work with your Python version.
Hy is tested on `all released and currently maintained versions of CPython <https://devguide.python.org/versions>`_ (on Linux, Windows, and Mac OS), and on recent versions of PyPy and Pyodide. We usually find that for Hy, unlike most Python packages, we need to change things to fully support each new 3.x release of Python. We may drop compatibility with a version of Python after the CPython guys cease maintaining it. Note that we construe such a change as non-breaking, so we won't bump Hy's major version for it. But we will at least bump the minor version, and ``python_requires`` in Hy's ``setup.py`` should prevent you from installing a Hy version that won't work with your Python version.

Starting with Hy 1.0.0, each version of Hy also has a nickname, such as "Afternoon Review". Nicknames are used in alphabetical order, with a nickname starting with "Z" then wrapping around to "A". Nicknames are provided mostly for the amusement of the maintainer, but can be useful as a conspicuous sign that you're not using the version you expected. In code, you can get the current nickname as a string (or ``None``, for unreleased commits of Hy) with ``hy.nickname``.