native-api
0864daa5ea
miniconda 26, CI: switch check to 3.13 ( #3447 )
2 months ago
native-api
522164fbd5
miniforge3 26.1, 26.3, add_miniforge: exclude .pkg installers ( #3446 )
According to Miniforge README, they are only meant for interactive installation
2 months ago
Ivan Pozdeev
3399b2e2e5
clarify confusing error message
2 months ago
Ivan Pozdeev
5bb6b27d61
CI: add_version: support prereleases for non-initial releases
They unexpectedly made a prerelease 3.14.5rc1
2 months ago
Ivan Pozdeev
97573e156e
CI: add_version: correctly handle exceptions
exit code 1 is used as a signal that no new version is found -- so have to use a different exit code for unhandled exceptions
2 months ago
orbisai0security
6bdb85d8b7
CI: add-version: Add timeouts to CPython release metadata fetches ( #3439 )
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2 months ago
Ivan Pozdeev
ae1bb9c061
CI: add_python: 3.9 is EOL
2 months ago
Ivan Pozdeev
46e4e6ab07
-dead code
[no ci]
3 months ago
Ivan Pozdeev
974e820478
Replace patterns with f-strings for logging
fix KeyError: out_dir
4 months ago
Ivan Pozdeev
06bac52676
add_cpython: fix erroneously deleting old thunks
Looks like a leftover from older logic, before
we `git mv`'d thunks on prerelease upgrade
4 months ago
native-api
94faa168cb
CI: adjust CPython PR generation logic ( #3392 )
* For files retrieved through the GNU mirror load balancer, specify the load balancer URL
* Explicitly `git mv` files on prerelease upgrade in case Git doesn't detect it
* Add a trailing newline to a thunk
6 months ago
native-api
d9182d6edc
CI: automatically check for CPython releases ( #3388 )
* .gitignore local venv
* Add alt GNU mirror support with <table>
* Fix UnboundLocalError when no micro 0 releases
* Cutoff for existing vetsions as well
* add missing dependency more_itertools
* workaround fake_useragent 2.0.0 falsely declaring 3.8 compatibility
6 months ago
Ivan Pozdeev
98a7a6809c
Fix verify_py prefix in anaconda3-2025.06
6 months ago
Ivan Pozdeev
45ef1677c4
Auto-accept TOS in miniconda3-25+
Required for installation since this version
6 months ago
Ivan Pozdeev
1d8240a641
set executable bit for add_cpython.py
6 months ago
Ivan Pozdeev
e5a6b49e02
scripts: remove unused
6 months ago
Ivan Pozdeev
4a3aaf4327
scripts: relax version requirements
Latest version are okay.
Freezing them causes Dependabot alerts
about vulnerabilities in old versions
6 months ago
Ivan Pozdeev
ff94d498db
(refactor)
10 months ago
Ivan Pozdeev
99faf7f217
Add a script to generate CPython installation scripts
[no ci]
1 year ago
Jonathan Stein
70294ef6f1
Add miniforge3 25.9.1-0, 25.11.0-1
Adds latest miniforge releases 25.9.1-0, 25.11.0-1.
Skips 25.11.0-0 due to a regression reported in the release notes of
miniforge3-25.11.0-1.
Ref: https://github.com/conda-forge/miniforge/releases/tag/25.11.0-1
7 months ago
Jonathan Stein
bdb0508220
Update requirements for the add_miniconda script
At least under Python 3.14, this quickly fails without lxml[html_clean]
installed explicitly.
7 months ago
Ivan Pozdeev
cd2f410f75
Clean up, skip looking for mambaforge after it's retired
10 months ago
native-api
89b8e5f8da
Add miniforge 25.3.0-1, 25.3.0-2, 25.3.0-3, 25.3.1-0, skip miniforge 25.3.0-0 ( #3306 )
miniforge-25.3.0-0 is marked as prerelease, there's no Linux version. Probably recalled.
10 months ago
native-api
2acb2296e5
Exclude broken miniforge3/mambaforge3 22.11.0-0, 22.11.0-1, 22.11.0-2 from generation [no ci] ( #3143 )
1 year ago
Ivan Pozdeev
e0504fc2f8
add_miniforge.py: Support different Python version lines, improvements
* report more progress
* don't download SHA files for unsupported architectures
1 year ago
Ivan Pozdeev
ac2f882aab
Fix scripts not getting a Python version for `verify_pyXXX`
1 year ago
Ivan Pozdeev
25c966eb4f
add_miniconda.py: future-proof, update defaults, change -v
* future-proof PyVersion
* fix handling "-latest"
* Update default versions
* change -v argument to bool
1 year ago
Ivan Pozdeev
57594c0600
More detailed explanation of the band-aid code
2 years ago
Alex Hedges
dbbe2b63f4
Skip check for miniforge version `4.13.0-0`
We always detect missing build scripts for `4.13.0-0` because the
release[^1] doesn't have any mambaforge artifacts. Given that we've
already created the build files, we don't need to check the release
again.
[^1]: https://github.com/conda-forge/miniforge/releases/tag/4.13.0-0
2 years ago
Alex Hedges
a43259a186
Fix overly broad check for existing miniforge build files
The glob pattern we were using was too permissive and detecting
miniconda build scripts as miniforge build scripts when they shared the
same version. I have rewritten the pattern matching code to ensure we
only look at files starting with `miniforge` and `mambaforge`.
2 years ago
Alex Hedges
8316450887
Fix `KeyError` when running `add_miniforge.py`
I was attempting to run the script to generate build files for new
versions, but it failed because version `23.1.0-4`[^1] contained a
malformed `.sha256` file.[^2] I looked at the miniforge repo's script
`releases.py`[^3] and copied the logic about which release artifacts
should be skipped when generating a list of downloads.
[^1]: https://github.com/conda-forge/miniforge/releases/tag/23.1.0-4
[^2]: https://github.com/conda-forge/miniforge/releases/download/23.1.0-4/Miniforge3-uninstaller-patch-Windows-x86_64.exe.sha256
[^3]: a15762906b/docs/releases.py (L35-L36)
2 years ago
Alex Hedges
27525adece
Determine Python versions properly for Anaconda
The code for determining which Python version is bundled with which
version of Anaconda has not been updated in a while. I have added 3.10
and 3.11, both of which were used in bundles this year.
I also updated the URL for the source of this data, the Anaconda release
notes, because it has moved.
2 years ago
Alex Hedges
3f6bc8d16a
Support miniconda with Python 3.11
3 years ago
Alex Hedges
dd5378941a
Fix miniconda version handling
Anaconda and miniconda have changed their version string format again,
so the parsing needs to be done differently. `add_miniconda.py` can now
parse all existing definition files properly.
3 years ago
Alex Hedges
2506c9773c
Log errors when parsing existing Conda versions
This makes it easier to fix file names that cannot be parsed using the
current logic.
3 years ago
Christian Clauss
bd618ea9ef
add_miniconda.py: fix typo oversight ( #2595 )
3 years ago
Sean McGivern
c7f2c4db45
Add a script to add the latest miniforge and mambaforge versions
This takes inspiration from the similar script for miniconda, but it
simplifies in a couple of ways:
1. Use the GitHub Releases API instead of scraping HTML.
2. Don't perform a diff, simply add the latest release.
Lots of intermediate miniconda releases have been skipped in the past,
and it doesn't seem particularly valuable to backfill those.
3 years ago
Alex Hedges
e715e03be0
Support new miniconda file name format
3 years ago
Alex Hedges
b3a5b5eee3
Support miniconda with Python 3.10
3 years ago
Ivan Pozdeev
64aacd5cfd
add_miniconda: support Anaconda, support non-CPython scripts in scripts check
4 years ago
Alex Hedges
25e0ffa67d
Add missing miniconda architectures: aarch64, arm64, s390x
4 years ago
Fluency
423de9ae8d
add-miniconda: add docstrings to several key functions ( #2197 )
4 years ago
Alex Hedges
8b07b92c37
Support newer miniconda filenames
4 years ago
Alex Hedges
3a20ce7555
Add default verbosity to add_miniconda.py
Required to prevent a crash when no verbosity given.
4 years ago
Chris Barnes
81e797be12
Miniconda script review comments
README, better docs + logging
6 years ago
Chris Barnes
a9686fcae0
python-build: Use python 3.7 for miniconda >= 4.7
6 years ago
Chris Barnes
1fb6e795b6
Script for new miniconda builds
Scrapes available miniconda builds from anaconda repo
7 years ago