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

Update installers to conda 4.14 #3

Merged
merged 259 commits into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
9d90b89
Upload only selected artefacts.
ericpre Dec 30, 2020
26ef9a7
Set "UPLOAD_ARTEFACT" to false by default.
ericpre Dec 30, 2020
11f16ba
Set github artifact name to avoid sharing the same artifact
ericpre Dec 30, 2020
47c6e1c
Upload all artefacts.
ericpre Dec 30, 2020
e365865
Merge pull request #88 from ericpre/add_start_menu_shortcut
isuruf Dec 30, 2020
cc0df51
add release page prototype from gist
bollwyvl Jan 2, 2021
71b86e1
use setup-miniconda, newer ubuntu
bollwyvl Jan 2, 2021
1b8c3a3
ensure build dir exists
bollwyvl Jan 2, 2021
b8f2641
restore deeper docs path
bollwyvl Jan 2, 2021
f3d751d
Upload the docs to gh-pages
isuruf Jan 2, 2021
076a2c1
Update readme to link to GitHub Actions and not Travis (#94)
domoritz Jan 3, 2021
99c3ad4
consistently spell artifact (#95)
domoritz Jan 4, 2021
0f3d6e4
add brew installation instructions
domoritz Jan 8, 2021
bc89a22
Add links & capitalization
gwerbin Jan 8, 2021
ce24f70
Make "conda-forge" lower case
gwerbin Jan 8, 2021
d0b1730
Apply suggestions from code review
hmaarrfk Jan 8, 2021
e75e619
Merge pull request #97 from domoritz/patch-2
hmaarrfk Jan 8, 2021
ebef8ac
Merge pull request #98 from gwerbin/patch-1
hmaarrfk Jan 8, 2021
b448cd5
Merge pull request #89 from bollwyvl/add-download-page
scopatz Jan 8, 2021
98d8ea8
Note that Apple Silicon builds are experimental
isuruf Feb 9, 2021
7980ae7
Merge pull request #109 from isuruf/experimental
isuruf Feb 9, 2021
137a4b9
Update to mamba=0.7.12
xhochy Feb 9, 2021
52ddea6
Trigger CI
xhochy Feb 9, 2021
ff46705
Add CODEOWNERS
xhochy Feb 10, 2021
c734678
Merge pull request #112 from xhochy/codeowners
isuruf Feb 10, 2021
65277cd
Merge pull request #110 from xhochy/update-mamba
isuruf Feb 10, 2021
70512f6
Add action to auto-update conda & mamba
xhochy Feb 17, 2021
3250349
Limit updates to mamba version
xhochy Feb 23, 2021
3023ba9
Update instructions in the Readme
hmaarrfk Feb 24, 2021
ca98cec
Cleanup readme download instructions.
hmaarrfk Feb 24, 2021
1fef784
Merge pull request #122 from hmaarrfk/add_download_instructions_to_re…
isuruf Feb 24, 2021
ccb3ce3
Note that binary packages have their own terms
isuruf Feb 24, 2021
6317037
Merge pull request #124 from isuruf/license
hmaarrfk Feb 24, 2021
c8acc89
Fix typo
isuruf Feb 24, 2021
9ff40e4
Another typo
isuruf Feb 24, 2021
fa5314a
grammar
isuruf Feb 24, 2021
5c7846b
Merge pull request #125 from isuruf/typo
isuruf Feb 24, 2021
c2c99ef
Remove bzip2
hmaarrfk Feb 28, 2021
e0194a2
Merge pull request #128 from hmaarrfk/remove_bzip2
isuruf Feb 28, 2021
996df3d
Add Github Action to ask for a tag
xhochy Mar 5, 2021
8e0483f
Merge pull request #117 from xhochy/autoupdate
isuruf Mar 5, 2021
3484ff6
Merge pull request #132 from xhochy/tag-on-conda-release
isuruf Mar 5, 2021
1c5a923
Update mamba version
isuruf Mar 6, 2021
2008071
Merge pull request #133 from conda-forge/autoupdate-action
isuruf Mar 6, 2021
74b9f3d
Update mamba version
isuruf Mar 6, 2021
3b52e8e
Merge pull request #134 from conda-forge/autoupdate-action
isuruf Mar 6, 2021
a37c2d4
Use micromamba for all platforms
isuruf Feb 9, 2021
35b0e16
only unix
isuruf Feb 9, 2021
0eda552
Pass through TARGET_PLATFORM
isuruf Feb 9, 2021
89ba30c
update micromamba
isuruf Feb 9, 2021
52800f4
Update ci.yml
isuruf Feb 11, 2021
c63fb6d
Update build_miniforge.sh
isuruf Feb 11, 2021
7f59bcf
Update ci.yml
isuruf Feb 11, 2021
ba8b7d6
Keep using 0.6.5 as 0.7.13 breaks stuff
isuruf Feb 14, 2021
a0d185c
update constructor
isuruf Feb 14, 2021
12a682b
Update build.sh
isuruf Feb 14, 2021
d0d3d47
use micromamba 0.8.0
isuruf Mar 10, 2021
b39b843
try micromamba 0.8.2
wolfv Mar 12, 2021
784c97f
use raw micromamba package from package cache
wolfv Mar 12, 2021
2461c90
Update mamba version
isuruf Mar 12, 2021
0d6df40
Merge pull request #135 from conda-forge/autoupdate-action
hmaarrfk Mar 13, 2021
0d4b520
upload miniforge for all jobs
isuruf Mar 16, 2021
ce9c1bb
Use upstream constructor
isuruf Mar 16, 2021
34d28bd
Update mamba version
isuruf Mar 26, 2021
9de3d50
Merge pull request #138 from conda-forge/autoupdate-action
hmaarrfk Mar 26, 2021
ef1aa86
Update mamba version
isuruf Mar 27, 2021
ab5909b
Merge pull request #139 from conda-forge/autoupdate-action
hmaarrfk Mar 27, 2021
db627e6
Single out the raspberry pi in our readme documentation
hmaarrfk Apr 14, 2021
f517c26
Update mamba version
isuruf Apr 20, 2021
aee89b1
Merge pull request #142 from conda-forge/autoupdate-action
isuruf Apr 21, 2021
ac0a22f
Update default python versions
isuruf Apr 21, 2021
f54eb22
update constructor to 3.2.1
isuruf Apr 21, 2021
baf34df
update python version in README.md
isuruf Apr 21, 2021
f8bcb4e
Download micromamba directly
isuruf Apr 21, 2021
e37cfc8
Add a note about micromamba
isuruf Apr 21, 2021
f99b552
download micromamba to correct folder
isuruf Apr 21, 2021
6f0b41c
Add -f to bsdtar
isuruf Apr 21, 2021
75977e6
use latest micromamba, extract in tempdir
wolfv Apr 22, 2021
bdee9f1
Update conda version
isuruf Apr 25, 2021
8628975
Update mamba version
isuruf Apr 25, 2021
948c6ad
Merge pull request #149 from isuruf/update
isuruf Apr 25, 2021
e14d1eb
try micromamba 0.12.0
wolfv Apr 27, 2021
c18e8de
Merge branch 'master' into platforms
isuruf Apr 27, 2021
9d74d44
Update mamba version
isuruf Apr 30, 2021
a87c682
Merge pull request #152 from conda-forge/autoupdate-action
hmaarrfk May 3, 2021
aec743c
Update mamba version
isuruf May 13, 2021
cb90b1f
Merge pull request #153 from conda-forge/autoupdate-action
hmaarrfk May 13, 2021
b60b971
Update mamba version
isuruf Apr 30, 2021
e17958e
Use micromamba 0.13.0 and fixed constructor
isuruf Mar 16, 2021
b371150
Merge branch 'master' into platforms
wolfv May 13, 2021
6f9b805
Update LICENSE
isuruf May 13, 2021
4a6eae1
Remove defaults
isuruf May 17, 2021
dd6c950
Merge pull request #108 from isuruf/platforms
isuruf May 21, 2021
518ae01
Add a darwin link
isuruf May 21, 2021
3e78f68
Merge pull request #156 from isuruf/darwin
isuruf May 21, 2021
e3ffe71
Update README to use curl or wget url
isuruf May 21, 2021
12c0df0
Merge pull request #157 from isuruf/update
isuruf May 22, 2021
efe3b83
don't use micromamba for windows as menus are not supported
isuruf May 26, 2021
2f9d5c1
Merge pull request #160 from isuruf/win
isuruf May 26, 2021
98dfabe
Update mamba version
isuruf Jun 17, 2021
f074d37
Merge pull request #166 from conda-forge/autoupdate-action
isuruf Jun 19, 2021
4f366f7
Replace Ubntu 19.10 with 21.04 in test matrix
hmaarrfk Jul 5, 2021
1fc24ae
Merge pull request #173 from conda-forge/test_matrix_cleanup
hmaarrfk Jul 5, 2021
d6d8856
Add uninstallation instructions for Unix
hmaarrfk Jul 5, 2021
b4d9cb8
Added more information about what is miniforge
hmaarrfk Jul 5, 2021
90a3bce
Merge pull request #145 from hmaarrfk/rpi
hmaarrfk Jul 5, 2021
5bca6cb
Update README.md
hmaarrfk Jul 5, 2021
ab96dbf
Update README.md
hmaarrfk Jul 5, 2021
17f727b
Update mamba version
isuruf Jul 5, 2021
11838c2
Update README.md
hmaarrfk Jul 5, 2021
0151842
Merge pull request #168 from conda-forge/autoupdate-action
hmaarrfk Jul 5, 2021
4125c89
Merge pull request #176 from hmaarrfk/about_instructions
xhochy Jul 7, 2021
bad3cf1
Update mamba version
isuruf Jul 11, 2021
7c26d08
Merge pull request #178 from conda-forge/autoupdate-action
hmaarrfk Jul 11, 2021
86ba22f
Add dependabot config to update github action versions including sha1
dbast Jul 16, 2021
9c4e325
Merge pull request #181 from dbast/master
xhochy Jul 16, 2021
35df76c
Bump actions/github-script from 3 to 4.0.2
dependabot[bot] Jul 16, 2021
87e10fd
Bump conda-incubator/setup-miniconda from 2 to 2.1.1
dependabot[bot] Jul 16, 2021
bfcc015
Bump peter-evans/create-pull-request from 3.8.2 to 3.10.0
dependabot[bot] Jul 16, 2021
4e3642c
Merge pull request #182 from conda-forge/dependabot/github_actions/ac…
xhochy Jul 16, 2021
af69479
Merge pull request #183 from conda-forge/dependabot/github_actions/co…
xhochy Jul 16, 2021
f66fd0d
Merge pull request #184 from conda-forge/dependabot/github_actions/pe…
xhochy Jul 16, 2021
0666379
Update mamba version
isuruf Jul 16, 2021
c243d87
Merge pull request #180 from conda-forge/autoupdate-action
xhochy Jul 16, 2021
13d64c9
Set defaults for all required environment variables in build_miniforg…
dbast Jul 17, 2021
6236e85
Switch to tonistiigi/binfmt as qemu provider to support building on M1
dbast Jul 17, 2021
2b50cc8
Merge pull request #187 from dbast/local_build
isuruf Jul 25, 2021
1424000
Update mamba version
isuruf Jul 25, 2021
e554785
Merge pull request #186 from conda-forge/autoupdate-action
hmaarrfk Jul 25, 2021
cd3b328
Pin miniforge_console_shortcut to 1.0 until conda-standalone supports…
ericpre Aug 2, 2021
58919f4
Merge pull request #193 from ericpre/pin_console_shortcut
isuruf Aug 3, 2021
f893db1
use newest micromamba
wolfv Aug 13, 2021
e9fe12f
Update mamba version
isuruf Aug 19, 2021
a2edfb4
Merge pull request #202 from conda-forge/autoupdate-action
xhochy Aug 22, 2021
aabbdd7
Bump peter-evans/create-pull-request from 3.10.0 to 3.10.1
dependabot[bot] Aug 23, 2021
4c8205b
Bump actions/github-script from 4.0.2 to 4.1
dependabot[bot] Aug 23, 2021
ecb849c
Merge pull request #203 from conda-forge/dependabot/github_actions/pe…
hmaarrfk Aug 24, 2021
1bf6a51
Merge pull request #204 from conda-forge/dependabot/github_actions/ac…
hmaarrfk Aug 24, 2021
981de3d
Fix shellcheck findings
dbast Jul 25, 2021
931c97e
Add linting action with shellcheck and according problem matcher
dbast Jul 16, 2021
e98f3d1
Merge pull request #206 from dbast/scripts
hmaarrfk Aug 27, 2021
59d34dd
Add Debian Bullseye (11) to test matrix
dbast Aug 27, 2021
a380002
Merge pull request #207 from dbast/bullseye
hmaarrfk Aug 27, 2021
30d2120
Bump actions/github-script from 4.1 to 5
dependabot[bot] Sep 27, 2021
b811b3e
Merge pull request #213 from conda-forge/dependabot/github_actions/ac…
hmaarrfk Sep 27, 2021
680b9aa
0.16.0
isuruf Sep 27, 2021
2f4807e
Merge branch 'master' into update_micromamba
isuruf Sep 27, 2021
e7b1fb6
Update mamba version
isuruf Sep 28, 2021
64853e9
Merge pull request #215 from conda-forge/autoupdate-action
xhochy Sep 29, 2021
54a4254
try 0.17.0
wolfv Oct 14, 2021
b7ea916
Merge pull request #199 from wolfv/update_micromamba
isuruf Oct 14, 2021
da273b9
Merge pull request #175 from hmaarrfk/uninstall_instructions
hmaarrfk Oct 19, 2021
b3341fa
Fixup for pyyaml 6 releease
hmaarrfk Nov 19, 2021
33c3dc8
Merge pull request #233 from hmaarrfk/fix_constructor
hmaarrfk Nov 19, 2021
f3dd0bf
Update image for non-lts ubuntu
hmaarrfk Nov 19, 2021
0b900d4
Merge pull request #234 from hmaarrfk/ubuntu_2110
hmaarrfk Nov 19, 2021
79ed491
Update mamba version
isuruf Nov 25, 2021
740c7e3
Merge pull request #220 from conda-forge/autoupdate-action
hmaarrfk Nov 25, 2021
ce97b1d
Bump peter-evans/create-pull-request from 3.10.1 to 3.11.0
dependabot[bot] Nov 29, 2021
f25b0bf
Update mamba version
isuruf Dec 1, 2021
d595eab
Merge pull request #238 from conda-forge/autoupdate-action
xhochy Dec 1, 2021
0b4d427
Merge pull request #227 from conda-forge/dependabot/github_actions/pe…
xhochy Dec 1, 2021
a9567be
Update miniforge version used in installer for OSX
hmaarrfk Nov 19, 2021
ea2e0e9
Keep in sync with miniforge images
hmaarrfk Dec 2, 2021
7ec9c76
Update build_miniforge_osx.sh
hmaarrfk Dec 2, 2021
7b75ad9
Update build_miniforge_osx.sh
hmaarrfk Dec 2, 2021
894a438
Update build_miniforge_osx.sh
hmaarrfk Dec 2, 2021
e8d5315
lint
hmaarrfk Dec 2, 2021
d36c4f7
Fix openssl check
hmaarrfk Dec 2, 2021
b1a7935
Merge pull request #232 from hmaarrfk/update_osx_image_version
hmaarrfk Dec 2, 2021
bbf95a4
Update mamba version
isuruf Dec 9, 2021
c27962e
Merge pull request #240 from conda-forge/autoupdate-action
hmaarrfk Dec 9, 2021
401cd2d
Bump peter-evans/create-pull-request from 3.11.0 to 3.12.0
dependabot[bot] Dec 20, 2021
b405b10
Merge pull request #243 from conda-forge/dependabot/github_actions/pe…
xhochy Dec 25, 2021
526fae8
Add quotes to ensure bash correctness
hmaarrfk Jan 8, 2022
5c6c2fb
Merge pull request #247 from hmaarrfk/fixup_typo
hmaarrfk Jan 8, 2022
0a5aecf
Update mamba version
isuruf Jan 25, 2022
c012ea9
Use Chris's fork
isuruf Feb 8, 2022
2ec2d6f
install libmambapy
isuruf Feb 8, 2022
9359c18
Merge pull request #256 from conda-forge/autoupdate-action
isuruf Feb 8, 2022
f90c737
Update commit of constructor used to fix cross-compilation
chrisburr Feb 8, 2022
f3c4597
Use MICROMAMBA_VERSION=0.20.0
chrisburr Feb 8, 2022
9f35662
Add transmute_file_type: .conda
chrisburr Feb 8, 2022
875b88a
Change to a writable working directory before running constructor
chrisburr Feb 9, 2022
ebb4dee
Use mamba 0.21.0
chrisburr Feb 9, 2022
b01e48e
Merge pull request #260 from chrisburr/fix-cross-compile
isuruf Feb 9, 2022
ffd3854
Update mamba version
isuruf Feb 12, 2022
40308a8
Merge pull request #262 from conda-forge/autoupdate-action
xhochy Feb 13, 2022
4bb31dc
Update mamba version
isuruf Feb 17, 2022
35de6c5
Use MICROMAMBA_VERSION=0.21.2
chrisburr Feb 17, 2022
0bc5bae
Use an updated commit of constructor
chrisburr Feb 17, 2022
a7f0e1a
Use latest release of pyyaml
chrisburr Feb 17, 2022
19f499e
Merge pull request #263 from conda-forge/autoupdate-action
xhochy Feb 17, 2022
5429a0f
Don't transmute to .conda yet
isuruf Feb 19, 2022
9407052
Merge pull request #266 from isuruf/transmute
isuruf Feb 20, 2022
f96fd34
Bump actions/github-script from 5 to 6
dependabot[bot] Feb 22, 2022
5a444a8
Fix breaking changes
xhochy Feb 22, 2022
e866916
Merge pull request #264 from conda-forge/dependabot/github_actions/ac…
xhochy Feb 22, 2022
992a5a3
Bump peter-evans/create-pull-request from 3.12.0 to 3.12.1 (#258)
dependabot[bot] Feb 22, 2022
a5b17e2
Update mamba version
isuruf Feb 26, 2022
36584c2
Merge pull request #269 from conda-forge/autoupdate-action
hmaarrfk Feb 26, 2022
007e1b8
Bump peter-evans/create-pull-request from 3.12.1 to 3.14.0
dependabot[bot] Feb 28, 2022
3b11c44
Merge pull request #271 from conda-forge/dependabot/github_actions/pe…
hmaarrfk Mar 1, 2022
d7a9ef2
Update mamba version
isuruf Mar 1, 2022
30dffc0
Merge pull request #272 from conda-forge/autoupdate-action
hmaarrfk Mar 1, 2022
4300b69
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 7, 2022
6f939fc
Merge pull request #273 from conda-forge/dependabot/github_actions/ac…
hmaarrfk Mar 7, 2022
950c6dd
update to 4.12.0
isuruf Mar 21, 2022
db1fdcd
Merge pull request #280 from isuruf/4.12
isuruf Mar 22, 2022
2fa175d
Bump peter-evans/create-pull-request from 3.14.0 to 4
dependabot[bot] Mar 28, 2022
c62a546
Merge pull request #283 from conda-forge/dependabot/github_actions/pe…
xhochy Mar 28, 2022
0a9a2b7
Bump peter-evans/create-pull-request from 4.0.0 to 4.0.1
dependabot[bot] Apr 4, 2022
8ae2a1c
Merge pull request #286 from conda-forge/dependabot/github_actions/pe…
xhochy Apr 4, 2022
2043ed5
Bump peter-evans/create-pull-request from 4.0.1 to 4.0.2
dependabot[bot] Apr 11, 2022
08882a5
Merge pull request #291 from conda-forge/dependabot/github_actions/pe…
xhochy Apr 11, 2022
1d8f4cc
Bump actions/upload-artifact from 2 to 3
dependabot[bot] Apr 11, 2022
b85e1ce
Merge pull request #292 from conda-forge/dependabot/github_actions/ac…
xhochy Apr 11, 2022
a23b4a5
Update copyright date.
hmaarrfk Apr 16, 2022
efab2b9
Merge pull request #294 from hmaarrfk/copyright
xhochy Apr 23, 2022
c724804
Use micromamba 0.23.0
isuruf Apr 26, 2022
b449148
Merge pull request #300 from isuruf/micromamba
isuruf Apr 26, 2022
b70a4ad
Bump peter-evans/create-pull-request from 4.0.2 to 4.0.3
dependabot[bot] May 9, 2022
e21a1c2
Merge pull request #305 from conda-forge/dependabot/github_actions/pe…
xhochy May 9, 2022
dbeb840
README.md modified for avoiding prematured closing of the shell.
May 17, 2022
ebd1441
Update README.md re: RPiOS 64bit
MarximusMaximus May 26, 2022
bc37c9a
Update README.md
hmaarrfk May 28, 2022
3814e31
Merge pull request #310 from MarximusMaximus/main
hmaarrfk May 28, 2022
8d92c88
Try micromamba 0.24.0
isuruf Jun 1, 2022
98aeca2
minor fixes
ocefpaf Jun 3, 2022
53083c6
Merge pull request #315 from ocefpaf/minor_error_on_batch_install_win
isuruf Jun 3, 2022
639037a
Bump peter-evans/create-pull-request from 4.0.3 to 4.0.4
dependabot[bot] Jun 6, 2022
1b0be1f
Update README
realprogrammersusevim Jun 8, 2022
c2afea2
Merge pull request #318 from sarumanfartcatcher/main
hmaarrfk Jun 8, 2022
9d47445
Merge pull request #317 from conda-forge/dependabot/github_actions/pe…
xhochy Jun 12, 2022
9d52c21
Merge pull request #313 from isuruf/micromamba-0.24.0
isuruf Jun 29, 2022
e3e9641
format
hmaarrfk Jul 12, 2022
c8a2703
Merge pull request #306 from sktomar/mod_readme
hmaarrfk Jul 12, 2022
f7da857
Update mamba to 0.24.0
hmaarrfk Jul 29, 2022
e217663
Update conda 4.13.0 and mamba 0.24.0
hmaarrfk Jul 29, 2022
b6b2715
Merge pull request #332 from hmaarrfk/mamba_0.24.0
isuruf Jul 30, 2022
bcb179d
Update to conda 4.14, cpython 3.10, pypy 3.9
isuruf Aug 18, 2022
5d9fd0b
upload artifacts always
isuruf Aug 18, 2022
30f7de8
Copy installer artifacts before testing
isuruf Aug 19, 2022
64ee1b0
debug
isuruf Aug 20, 2022
32911c5
Update test.sh
isuruf Aug 20, 2022
09655cf
Workaround a conda bug
isuruf Aug 20, 2022
d99a399
Bump peter-evans/create-pull-request from 4.0.4 to 4.1.1
dependabot[bot] Aug 22, 2022
256e408
Merge pull request #335 from conda-forge/dependabot/github_actions/pe…
xhochy Aug 22, 2022
c565edd
Merge pull request #333 from isuruf/updates
isuruf Aug 23, 2022
0dd1f4d
Merge remote-tracking branch 'upstream/main' into update-4.14
jaimergp Aug 26, 2022
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @conda-forge/miniforge
7 changes: 7 additions & 0 deletions .github/actions/autoupdate/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: miniconda-autoupdate
channels:
- conda-forge
- nodefaults
dependencies:
- packaging
- requests
27 changes: 27 additions & 0 deletions .github/actions/autoupdate/update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env python

import re
import requests
from packaging import version

def get_most_recent_version(name):
request = requests.get(
"https://api.anaconda.org/package/conda-forge/" + name
)
request.raise_for_status()

pkg = max(
request.json()["files"], key=lambda x: version.parse(x["version"])
)
return pkg["version"]

mamba_version = get_most_recent_version("mamba")

with open("Miniforge3/construct.yaml", "r") as f:
content = f.read()

# Replace mamba version
content = re.sub(r"mamba [\d.]+$", f"mamba {mamba_version}", content, flags=re.M)

with open("Miniforge3/construct.yaml", "w") as f:
f.write(content)
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
17 changes: 17 additions & 0 deletions .github/shellcheck-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "shellcheck",
"pattern": [
{
"regexp": "^(.+):(\\d+):(\\d+):\\s(note|warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
"file": 1,
"line": 2,
"column": 3,
"message": 5,
"code": 6
}
]
}
]
}
32 changes: 32 additions & 0 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Auto-update mamba
on:
schedule:
- cron: "0 */6 * * *"
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.MINIFORGE_AUTOUPDATE_SSH_PRIVATE_KEY }}
- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
with:
miniforge-variant: Miniforge3
environment-file: .github/actions/autoupdate/environment.yml
- run: python .github/actions/autoupdate/update.py
- name: Create Pull Request
id: cpr
# This is the v3 tag but for security purposes we pin to the exact commit.
uses: peter-evans/create-pull-request@18f90432bedd2afd6a825469ffd38aa24712a91d
with:
commit-message: "Update mamba version"
title: "Update mamba version"
body: |
This PR was created by the autoupdate action as it detected that
the mamba version has changed and thus should be updated
in the configuration.

Due to limitations of Github Actions, you will need to close/reopen
the PR to get the actions running.
branch: autoupdate-action
delete-branch: true
92 changes: 61 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,147 +11,165 @@ jobs:
include:
# - os: windows-latest
# ARCH: x86_64
# TARGET_PLATFORM: win-64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Windows"

# - os: windows-latest
# ARCH: x86_64
# TARGET_PLATFORM: win-64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Windows"

# - os: windows-latest
# ARCH: x86_64
# TARGET_PLATFORM: win-64
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Windows"

# - os: windows-latest
# ARCH: x86_64
# TARGET_PLATFORM: win-64
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Windows"

# - os: macos-latest
# ARCH: arm64
# TARGET_PLATFORM: osx-arm64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: arm64
# TARGET_PLATFORM: osx-arm64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# TARGET_PLATFORM: osx-64
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# TARGET_PLATFORM: osx-64
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# TARGET_PLATFORM: osx-64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# TARGET_PLATFORM: osx-64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "MacOSX"

# - os: ubuntu-latest
# ARCH: aarch64
# TARGET_PLATFORM: linux-aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# TARGET_PLATFORM: linux-aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"
- os: ubuntu-latest
ARCH: x86_64
TARGET_PLATFORM: linux-64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Mambaforge-colab"
OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"
- os: ubuntu-latest
ARCH: x86_64
TARGET_PLATFORM: linux-64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Miniforge-colab"
OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# TARGET_PLATFORM: linux-ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# TARGET_PLATFORM: linux-ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# TARGET_PLATFORM: linux-aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# TARGET_PLATFORM: linux-aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# TARGET_PLATFORM: linux-64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# TARGET_PLATFORM: linux-64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# TARGET_PLATFORM: linux-ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# TARGET_PLATFORM: linux-ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Mambaforge-colab"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Miniforge-colab"
OS_NAME: "Linux"

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
with:
miniconda-version: "latest"
if: contains(matrix.OS_NAME, 'Windows')
Expand All @@ -163,28 +181,40 @@ jobs:
OS_NAME: ${{ matrix.OS_NAME }}
DOCKERIMAGE: ${{ matrix.DOCKERIMAGE }}
DOCKER_ARCH: ${{ matrix.DOCKER_ARCH }}
TARGET_PLATFORM: ${{ matrix.TARGET_PLATFORM }}
run: |
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
export MINIFORGE_VERSION=${GITHUB_REF##*/};
fi
if [[ "$OS_NAME" == "Linux" ]]; then
export EXT=sh
bash build_miniforge.sh;
EXT=sh
fi
if [[ "$OS_NAME" == "MacOSX" ]]; then
export EXT=sh
bash build_miniforge_osx.sh;
EXT=sh
fi
if [[ "$OS_NAME" == "Windows" ]]; then
export EXT=exe
echo "WINDIR:$WINDIR"
source /c/Miniconda3/Scripts/activate;
source build_miniforge_win.sh;
EXT=exe
fi
# Copy for latest release
cp build/$MINIFORGE_NAME-*-$OS_NAME-$ARCH.$EXT build/$MINIFORGE_NAME-$OS_NAME-$ARCH.$EXT
if [[ "$OS_NAME" == "MacOSX" ]]; then
cp build/$MINIFORGE_NAME-*-$OS_NAME-$ARCH.$EXT build/$MINIFORGE_NAME-Darwin-$ARCH.$EXT
fi
ls -alh build
shell: bash

- name: Upload miniforge to Github artifact
if: always()
uses: actions/upload-artifact@v3
with:
path: build/${{ matrix.MINIFORGE_NAME }}-${{ matrix.OS_NAME }}-${{ matrix.ARCH }}*
name: ${{ matrix.MINIFORGE_NAME }}-${{ matrix.OS_NAME }}-${{ matrix.ARCH }}

- name: Upload miniforge to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
Loading