Skip to content

Commit e3d62f8

Browse files
authored
Merge pull request #23 from openscm/tweaks
Tweaks
2 parents a6ffcb3 + 3032afd commit e3d62f8

8 files changed

Lines changed: 13 additions & 237 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
22
_commit: v0.14.3
33
_src_path: gl:openscm/copier-core-python-repository
4-
conda_release: true
4+
conda_release: false
55
email: zebedee.nicholls@climate-energy-college.org
66
include_cli: false
77
name: Zebedee Nicholls

.github/workflows/install-conda.yaml

Lines changed: 0 additions & 90 deletions
This file was deleted.

.github/workflows/install-pypi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
25+
os: [
26+
"ubuntu-latest",
27+
"ubuntu-24.04-arm",
28+
"macos-latest",
29+
"macos-13",
30+
"windows-latest",
31+
"windows-11-arm",
32+
]
2633
# Test against all security and bugfix versions: https://devguide.python.org/versions/
2734
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
2835
# Check both 'library' install and the 'application' (i.e. locked) install

README.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ Basic example of using fgen
1212
[![PyPI](https://img.shields.io/pypi/v/example-fgen-basic.svg)](https://pypi.org/project/example-fgen-basic/)
1313
[![PyPI install](https://github.com/openscm/example-fgen-basic/actions/workflows/install-pypi.yaml/badge.svg?branch=main)](https://github.com/openscm/example-fgen-basic/actions/workflows/install-pypi.yaml)
1414

15-
**Conda :**
16-
[![Conda](https://img.shields.io/conda/vn/conda-forge/example-fgen-basic.svg)](https://anaconda.org/conda-forge/example-fgen-basic)
17-
[![Conda platforms](https://img.shields.io/conda/pn/conda-forge/example-fgen-basic.svg)](https://anaconda.org/conda-forge/example-fgen-basic)
18-
[![Conda install](https://github.com/openscm/example-fgen-basic/actions/workflows/install-conda.yaml/badge.svg?branch=main)](https://github.com/openscm/example-fgen-basic/actions/workflows/install-conda.yaml)
19-
2015
**Tests :**
2116
[![CI](https://github.com/openscm/example-fgen-basic/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/openscm/example-fgen-basic/actions/workflows/ci.yaml)
2217
[![Coverage](https://codecov.io/gh/openscm/example-fgen-basic/branch/main/graph/badge.svg)](https://codecov.io/gh/openscm/example-fgen-basic)
@@ -65,16 +60,6 @@ because of breaking updates to dependencies.
6560

6661
The locked version of Example fgen - basic can be installed with
6762

68-
=== "mamba"
69-
```sh
70-
mamba install -c conda-forge example-fgen-basic-locked
71-
```
72-
73-
=== "conda"
74-
```sh
75-
conda install -c conda-forge example-fgen-basic-locked
76-
```
77-
7863
=== "pip"
7964
```sh
8065
pip install 'example-fgen-basic[locked]'
@@ -99,33 +84,13 @@ please [raise an issue](https://github.com/openscm/example-fgen-basic/issues).
9984

10085
The (non-locked) version of Example fgen - basic can be installed with
10186

102-
=== "mamba"
103-
```sh
104-
mamba install -c conda-forge example-fgen-basic
105-
```
106-
107-
=== "conda"
108-
```sh
109-
conda install -c conda-forge example-fgen-basic
110-
```
111-
11287
=== "pip"
11388
```sh
11489
pip install example-fgen-basic
11590
```
11691

11792
Additional dependencies can be installed using
11893

119-
=== "mamba"
120-
If you are installing with mamba, we recommend
121-
installing the extras by hand because there is no stable
122-
solution yet (see [conda issue #7502](https://github.com/conda/conda/issues/7502))
123-
124-
=== "conda"
125-
If you are installing with conda, we recommend
126-
installing the extras by hand because there is no stable
127-
solution yet (see [conda issue #7502](https://github.com/conda/conda/issues/7502))
128-
12994
=== "pip"
13095
```sh
13196
# To add plotting dependencies

changelog/23.trivial.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Dropped conda-related things as we won't make the package installable via conda
2+
- Added tests on more architectures to the test PyPI install workflow
3+
- Removed FORD config from the source distribution

docs/development.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,6 @@ The steps required are the following:
106106
This triggers a release to PyPI
107107
(which you can then add to the release if you want).
108108

109-
1. Go to your conda feedstock repository
110-
(likely something like https://github.com/conda-forge/example-fgen-basic-feedstock)
111-
and make a new merge request that updates your `recipe/meta.yaml` file
112-
to point to the newly released version on PyPI.
113-
114-
- If you have updated any dependencies, copy these across to your `recipe/meta.yaml` file.
115-
- If you are releasing a locked version on conda too,
116-
you can generate the pins for your lock file with `scripts/print-conda-recipe-pins.py`.
117-
118109
1. That's it, release done, make noise on social media of choice, do whatever
119110
else
120111

scripts/print-conda-recipe-pins.py

Lines changed: 0 additions & 100 deletions
This file was deleted.

scripts/strip-sdist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def main():
1717
exclude = [
1818
".github",
1919
"docs",
20+
"ford_config.md",
2021
"tests",
2122
"changelog",
2223
"stubs",
@@ -25,7 +26,6 @@ def main():
2526
Path("scripts") / "propogate-pyproject-metadata.py",
2627
Path("scripts") / "test-install.py",
2728
Path("scripts") / "changelog-to-release-template.py",
28-
Path("scripts") / "print-conda-recipe-pins.py",
2929
# Keep this one
3030
# Path("scripts") / "strip-sdist.py",
3131
".pre-commit-config.yaml",

0 commit comments

Comments
 (0)