Skip to content
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
24 changes: 21 additions & 3 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
# Codecov configuration
# https://docs.codecov.com/docs/codecov-yaml

github_checks:
annotations: true

comment:
layout: 'reach, diff, flags, files'
behavior: default
require_changes: false # if true: only post the comment if coverage changes
require_base: no # [yes :: must have a base report to post]
require_head: yes # [yes :: must have a head report to post]
require_changes: false
require_base: false
require_head: true

coverage:
status:
project:
default:
target: auto
threshold: 1%
# Make project coverage informational (won't block PR)
informational: true
patch:
default:
target: auto
# Require patch coverage but with threshold
threshold: 1%
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# WARNING: Do not edit this file manually.
# Any changes will be overwritten by Copier.
_commit: v0.11.2-5-gd120259
_commit: v0.11.3-3-ga67ebc3
_src_path: gh:easyscience/templates
lib_docs_url: https://easyscience.github.io/core
lib_doi: 10.5281/zenodo.18163581
lib_package_name: easyscience
lib_python_max: '3.13'
lib_python_max: '3.14'
lib_python_min: '3.11'
lib_repo_name: core
project_contact_email: support@easyscience.org
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-pixi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: prefix-dev/setup-pixi@v0.9.4
- uses: prefix-dev/setup-pixi@v0.9.5
with:
environments: ${{ inputs.environments }}
activate-environment: ${{ inputs.activate-environment }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ jobs:
- name: Set up pixi
uses: ./.github/actions/setup-pixi

# Install badgery into the active Pixi environment without modifying
# pixi.toml/pixi.lock. Using `pixi add` here re-solves the whole project
# and rebuilds the local editable package, which can cause intermittent
# Linux CI failures (`Text file busy`, os error 26).
- name: Install badgery
shell: bash
run: pixi add --pypi --git https://github.com/enhantica/badgery badgery
run: pixi run python -m pip install git+https://github.com/enhantica/badgery

- name: Run docstring coverage and code complexity/maintainability checks
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
working-directory: easyscience
run: pixi project system-requirements add macos 14.0

- name: Add Python 3.13 from Conda
- name: Add Python 3.14 from Conda
working-directory: easyscience
run: pixi add "python=3.13"
run: pixi add "python=3.14"

- name: Add other Conda dependencies
working-directory: easyscience
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ concurrency:
# Set the environment variables to be used in all jobs defined in this workflow
env:
CI_BRANCH: ${{ github.head_ref || github.ref_name }}
PY_VERSIONS: '3.11 3.13'
PIXI_ENVS: 'py-311-env py-313-env'
PY_VERSIONS: '3.11 3.14'
PIXI_ENVS: 'py-311-env py-314-env'

jobs:
# Job 1: Set up environment variables
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ or to run only Python linting checks:
pixi run py-lint-check
```

To add missing license headers:

```bash
pixi run spdx-add
```

Some formatting issues can be fixed automatically:

```bash
Expand Down
13 changes: 0 additions & 13 deletions codecov.yml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/docs/installation-and-setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: material/cog-box
# :material-cog-box: Installation & Setup

**EasyScience** is a cross-platform Python library compatible with
**Python 3.11** through **3.13**.
**Python 3.11** through **3.14**.

To install and set up EasyScience, we recommend using
[**Pixi**](https://pixi.prefix.dev), a modern package manager for
Expand Down Expand Up @@ -62,9 +62,9 @@ This section describes the simplest way to set up EasyScience using
pixi init easyscience
cd easyscience
```
- Set the Python version for the Pixi environment (e.g., 3.13):
- Set the Python version for the Pixi environment (e.g., 3.14):
```txt
pixi add python=3.13
pixi add python=3.14
```
- Add EasyScience to the Pixi environment from PyPI:
```txt
Expand Down
16,396 changes: 8,208 additions & 8,188 deletions pixi.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ macos = '14.0'
python = '3.11.*'

[feature.py-max.dependencies]
python = '3.13.*'
python = '3.14.*'

# Development dependencies for local development and testing with
# editable installations.
Expand Down Expand Up @@ -67,7 +67,7 @@ easyscience = '*'

# Specific environments for CI testing with different Python versions.
py-311-env = { features = ['py-min', 'dev'] }
py-313-env = { features = ['py-max', 'dev'] }
py-314-env = { features = ['py-max', 'dev'] }

# The `default` environment is developer-oriented for local development
# and testing with editable installation of the current package.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
]
requires-python = '>=3.11'
dependencies = [
Expand Down
Loading