Skip to content

Commit 4674f4e

Browse files
authored
Rm'd Python & requirements install from GHA
Removed explicit python `3.9` install and subsequent `requirements.txt` test installation from Github Action that is deployed to every PIAM package that uses lucode2
2 parents f7d212e + e4328d8 commit 4674f4e

File tree

8 files changed

+23
-92
lines changed

8 files changed

+23
-92
lines changed

.buildlibrary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ValidationKey: '10311680'
1+
ValidationKey: '10345671'
22
AutocreateReadme: yes
33
AutocreateCITATION: yes
44
AcceptedWarnings:

.github/workflows/check.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ jobs:
3535
# gms, goxygen, GDPuc) will usually have an outdated binary version
3636
# available; by using extra-packages we get the newest version
3737

38-
- uses: actions/setup-python@v5
39-
with:
40-
python-version: 3.9
41-
42-
- name: Install python dependencies if applicable
43-
run: |
44-
[ -f requirements.txt ] && python -m pip install --upgrade pip wheel || true
45-
[ -f requirements.txt ] && pip install -r requirements.txt || true
46-
4738
- name: Run pre-commit checks
4839
shell: bash
4940
run: |

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cff-version: 1.2.0
22
message: If you use this software, please cite it using the metadata from this file.
33
type: software
44
title: 'lucode2: Code Manipulation and Analysis Tools'
5-
version: 0.51.2
6-
date-released: '2025-02-21'
5+
version: 0.51.3
6+
date-released: '2025-03-20'
77
abstract: A collection of tools which allow to manipulate and analyze code.
88
authors:
99
- family-names: Dietrich

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: lucode2
33
Title: Code Manipulation and Analysis Tools
4-
Version: 0.51.2
5-
Date: 2025-02-21
4+
Version: 0.51.3
5+
Date: 2025-03-20
66
Authors@R: c(
77
person("Jan Philipp", "Dietrich", , "[email protected]", role = c("aut", "cre"),
88
comment = c(affiliation = "Potsdam Institute for Climate Impact Research", ORCID = "0000-0002-4309-6431")),

R/piamPackages.R

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
#' @export
88
piamPackages <- function() {
99
packagesUrl <- "https://pik-piam.r-universe.dev/src/contrib/PACKAGES"
10-
fallback <- c("blackmagicc", "citation", "demystas", "edgeTransport", "edgeTrpLib",
11-
"GDPuc", "gdx", "gdxrrw", "gms", "goxygen", "HARr", "iamc", "limes",
12-
"lpjclass", "lpjmlkit", "lucode2", "luplot", "luscale", "lusweave",
13-
"m4fsdp", "madrat", "magclass", "magpie4", "MagpieNCGains", "magpiesets",
14-
"mip", "modelstats", "mrcommons", "mrdieter", "mrdrivers", "mredgebuildings",
15-
"mrfable", "mrfeed", "mrfish", "mrland", "mrmagpie", "mrremind",
16-
"mrsoil", "mrtutorial", "mrvalidation", "mrvalidnitrogen", "mrwaste",
17-
"mrwater", "mrwaterplots", "mstools", "piamenv", "piamInterfaces",
18-
"piamModelTests", "piktests", "quitte", "r2databus", "regressionworlddata",
19-
"remind2", "remulator", "rmndt", "rOpenscmRunner", "shinyresults",
10+
fallback <- c("biospheremetrics", "blackmagicc", "boundaries", "brick", "citation",
11+
"demystas", "edgeTransport", "edgeTrpLib", "GDPuc", "gdx", "gdx2",
12+
"gdxrrw", "ggtrace", "gms", "goxygen", "HARr", "iamc", "limes",
13+
"lpjclass", "lpjmlkit", "lpjmlstats", "lucode2", "luplot", "luscale",
14+
"lusweave", "m4fsdp", "madrat", "magclass", "magpie4", "MagpieNCGains",
15+
"magpiesets", "mip", "modelstats", "mrcommons", "mrdieter", "mrdrivers",
16+
"mredgebuildings", "mrfable", "mrfactors", "mrfaocore", "mrfeed",
17+
"mrfish", "mrindustry", "mrland", "mrlandcore", "mrmagpie", "mrorganic",
18+
"mrremind", "mrsoil", "mrtransport", "mrtutorial", "mrvalidation",
19+
"mrvalidnitrogen", "mrwaste", "mrwater", "mrwaterplots", "mstools",
20+
"piamenv", "piamInterfaces", "piamModelTests", "piamPlotComparison",
21+
"piamutils", "piamValidation", "piktests", "quitte", "r2databus",
22+
"regressionworlddata", "remind2", "remulator", "reportbrick",
23+
"reporttransport", "rmndt", "rOpenscmRunner", "shinyresults",
2024
"SPARQL", "trafficlight")
2125
return(tryCatch({
2226
sort(sub("^Package: ", "", grep("^Package: ", readLines(packagesUrl), value = TRUE)))

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code Manipulation and Analysis Tools
22

3-
R package **lucode2**, version **0.51.2**
3+
R package **lucode2**, version **0.51.3**
44

55
[![CRAN status](https://www.r-pkg.org/badges/version/lucode2)](https://cran.r-project.org/package=lucode2) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4389418.svg)](https://doi.org/10.5281/zenodo.4389418) [![R build status](https://github.com/pik-piam/lucode2/workflows/check/badge.svg)](https://github.com/pik-piam/lucode2/actions) [![codecov](https://codecov.io/gh/pik-piam/lucode2/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/lucode2) [![r-universe](https://pik-piam.r-universe.dev/badges/lucode2)](https://pik-piam.r-universe.dev/builds)
66

@@ -39,7 +39,7 @@ In case of questions / problems please contact Jan Philipp Dietrich <dietrich@pi
3939

4040
To cite package **lucode2** in publications use:
4141

42-
Dietrich J, Sauer P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2025). "lucode2: Code Manipulation and Analysis Tools." doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, Version: 0.51.2, <https://github.com/pik-piam/lucode2>.
42+
Dietrich J, Sauer P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2025). "lucode2: Code Manipulation and Analysis Tools." doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, Version: 0.51.3, <https://github.com/pik-piam/lucode2>.
4343

4444
A BibTeX entry for LaTeX users is
4545

@@ -48,9 +48,9 @@ A BibTeX entry for LaTeX users is
4848
title = {lucode2: Code Manipulation and Analysis Tools},
4949
author = {Jan Philipp Dietrich and Pascal Sauer and David Klein and Anastasis Giannousakis and Markus Bonsch and Benjamin Leon Bodirsky and Lavinia Baumstark and Oliver Richters and Mika Pflüger},
5050
doi = {10.5281/zenodo.4389418},
51-
date = {2025-02-21},
51+
date = {2025-03-20},
5252
year = {2025},
5353
url = {https://github.com/pik-piam/lucode2},
54-
note = {Version: 0.51.2},
54+
note = {Version: 0.51.3},
5555
}
5656
```

inst/extdata/check.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ jobs:
3535
# gms, goxygen, GDPuc) will usually have an outdated binary version
3636
# available; by using extra-packages we get the newest version
3737

38-
- uses: actions/setup-python@v5
39-
with:
40-
python-version: 3.9
41-
42-
- name: Install python dependencies if applicable
43-
run: |
44-
[ -f requirements.txt ] && python -m pip install --upgrade pip wheel || true
45-
[ -f requirements.txt ] && pip install -r requirements.txt || true
46-
4738
- name: Run pre-commit checks
4839
shell: bash
4940
run: |

inst/extdata/pikPiamPackages

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

0 commit comments

Comments
 (0)