Skip to content

Commit 97c0b05

Browse files
authored
Removing Python 3.10 support (#638)
Don't add python 3.14 because it doesn't play nice with onnxruntime yet.
1 parent 5ce3d93 commit 97c0b05

17 files changed

+51
-46
lines changed

.copier-answers.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v2.1.1
2+
_commit: v2.2.0
33
_src_path: gh:lincc-frameworks/python-project-template
44
author_email: [email protected]
55
author_name: LINCC Frameworks
66
create_example_module: false
7-
custom_install: true
7+
custom_install: custom
88
enforce_style:
99
- ruff_lint
1010
- ruff_format
@@ -14,11 +14,13 @@ include_docs: true
1414
include_notebooks: true
1515
mypy_type_checking: none
1616
package_name: hyrax
17+
project_description: "A low-code solution for rapid experimentation with machine learning\
18+
\ in astronomy. \n\nHyrax is an extensible platform that handles much of the boilerplate\
19+
\ code that is often required for a machine learning project in astronomy."
1720
project_license: MIT
1821
project_name: hyrax
1922
project_organization: lincc-frameworks
2023
python_versions:
21-
- '3.10'
2224
- '3.11'
2325
- '3.12'
2426
- '3.13'

.github/ISSUE_TEMPLATE/1-bug_report.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ assignees: ''
1212
**Environment Information**
1313

1414

15+
<details>
16+
<summary>Traceback</summary>
17+
18+
FILL IN YOUR STACK TRACE HERE
19+
20+
</details>
21+
1522
**Before submitting**
1623
Please check the following:
1724

.github/pull_request_template.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
1-
<!--
2-
Thank you for your contribution to the repo :)
3-
4-
Pull Request (PR) Instructions:
5-
Provide a general summary of your changes in the Title above. Fill out each section of the template, and replace the space with an `x` in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help! Once you are satisfied with the pull request, click the "Create pull request" button to submit it for review.
6-
7-
Before submitting this PR, please ensure that your input and responses are entered in the designated space provided below each section to keep all project-related information organized and easily accessible.
8-
9-
How to link to a PR:
10-
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
11-
-->
12-
131
## Change Description
142
<!---
15-
Describe your changes in detail. In your description, you should answer questions like "Why is this change required? What problem does it solve?".
16-
17-
If it fixes an open issue, please link to the issue here. If this PR closes an issue, put the word 'closes' before the issue link to auto-close the issue when the PR is merged.
3+
Closes #???
184
-->
19-
- [ ] My PR includes a link to the issue that I am addressing
205

6+
## Solution Description
217

228

23-
## Solution Description
24-
<!-- Please explain the technical solution that I have provided and how it addresses the issue or feature being implemented -->
9+
## Code Quality
10+
- [ ] I have read the Contribution Guide and agree to the Code of Conduct
11+
- [ ] My code follows the code style of this project
12+
- [ ] My code builds (or compiles) cleanly without any errors or warnings
13+
- [ ] My code contains relevant comments and necessary documentation

.github/workflows/asv-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ main ]
99

1010
env:
11-
PYTHON_VERSION: "3.11"
11+
PYTHON_VERSION: "3.12"
1212
ASV_VERSION: "0.6.5"
1313
WORKING_DIR: ${{github.workspace}}/benchmarks
1414

.github/workflows/asv-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
PYTHON_VERSION: "3.11"
12+
PYTHON_VERSION: "3.12"
1313
ASV_VERSION: "0.6.5"
1414
WORKING_DIR: ${{github.workspace}}/benchmarks
1515
NIGHTLY_HASH_FILE: nightly-hash

.github/workflows/asv-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18-
PYTHON_VERSION: "3.11"
18+
PYTHON_VERSION: "3.12"
1919
ASV_VERSION: "0.6.5"
2020
WORKING_DIR: ${{github.workspace}}/benchmarks
2121
ARTIFACTS_DIR: ${{github.workspace}}/artifacts

.github/workflows/build-documentation.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v6
24-
- name: Set up Python 3.11
24+
- name: Set up Python 3.12
2525
uses: actions/setup-python@v6
2626
with:
27-
python-version: '3.11'
27+
python-version: '3.12'
28+
- name: Install uv
29+
uses: astral-sh/setup-uv@v7
2830
- name: Install dependencies
2931
run: |
3032
sudo apt-get update
31-
python -m pip install --upgrade pip
32-
if [ -f docs/requirements.txt ]; then pip install -r docs/requirements.txt; fi
33-
pip install .
33+
uv pip install --system -e .
34+
if [ -f docs/requirements.txt ]; then uv pip install --system -r docs/requirements.txt; fi
35+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3436
- name: Install notebook requirements
3537
run: |
3638
sudo apt-get install pandoc

.github/workflows/pre-commit-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: '3.11'
23+
python-version: '3.12'
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v6
2929
with:
30-
python-version: '3.11'
30+
python-version: '3.12'
3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip

.github/workflows/smoke-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.11', '3.12', '3.13']
2424

2525
steps:
2626
- uses: actions/checkout@v6
@@ -30,7 +30,7 @@ jobs:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install uv
3232
uses: astral-sh/setup-uv@v7
33-
- name: Debug dependency resolution
33+
- name: Install dependencies
3434
run: |
3535
sudo apt-get update
3636
# Try to see what uv would resolve

0 commit comments

Comments
 (0)