native-api
0864daa5ea
miniconda 26, CI: switch check to 3.13 ( #3447 )
преди 2 месеца
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 месеца
Ivan Pozdeev
3399b2e2e5
clarify confusing error message
преди 2 месеца
Ivan Pozdeev
5bb6b27d61
CI: add_version: support prereleases for non-initial releases
They unexpectedly made a prerelease 3.14.5rc1
преди 2 месеца
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 месеца
orbisai0security
6bdb85d8b7
CI: add-version: Add timeouts to CPython release metadata fetches ( #3439 )
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
преди 2 месеца
Ivan Pozdeev
ae1bb9c061
CI: add_python: 3.9 is EOL
преди 2 месеца
Ivan Pozdeev
46e4e6ab07
-dead code
[no ci]
преди 2 месеца
Ivan Pozdeev
974e820478
Replace patterns with f-strings for logging
fix KeyError: out_dir
преди 4 месеца
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 месеца
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 месеца
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 месеца
Ivan Pozdeev
98a7a6809c
Fix verify_py prefix in anaconda3-2025.06
преди 6 месеца
Ivan Pozdeev
45ef1677c4
Auto-accept TOS in miniconda3-25+
Required for installation since this version
преди 6 месеца
Ivan Pozdeev
1d8240a641
set executable bit for add_cpython.py
преди 6 месеца
Ivan Pozdeev
e5a6b49e02
scripts: remove unused
преди 6 месеца
Ivan Pozdeev
4a3aaf4327
scripts: relax version requirements
Latest version are okay.
Freezing them causes Dependabot alerts
about vulnerabilities in old versions
преди 6 месеца
Ivan Pozdeev
ff94d498db
(refactor)
преди 10 месеца
Ivan Pozdeev
99faf7f217
Add a script to generate CPython installation scripts
[no ci]
преди 1 година
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 месеца
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 месеца
Ivan Pozdeev
cd2f410f75
Clean up, skip looking for mambaforge after it's retired
преди 10 месеца
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 месеца
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 година
Ivan Pozdeev
e0504fc2f8
add_miniforge.py: Support different Python version lines, improvements
* report more progress
* don't download SHA files for unsupported architectures
преди 1 година
Ivan Pozdeev
ac2f882aab
Fix scripts not getting a Python version for `verify_pyXXX`
преди 1 година
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 година
Ivan Pozdeev
57594c0600
More detailed explanation of the band-aid code
преди 2 години
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 години
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 години
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 години
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 години
Alex Hedges
3f6bc8d16a
Support miniconda with Python 3.11
преди 3 години
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 години
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 години
Christian Clauss
bd618ea9ef
add_miniconda.py: fix typo oversight ( #2595 )
преди 3 години
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 години
Alex Hedges
e715e03be0
Support new miniconda file name format
преди 3 години
Alex Hedges
b3a5b5eee3
Support miniconda with Python 3.10
преди 3 години
Ivan Pozdeev
64aacd5cfd
add_miniconda: support Anaconda, support non-CPython scripts in scripts check
преди 4 години
Alex Hedges
25e0ffa67d
Add missing miniconda architectures: aarch64, arm64, s390x
преди 4 години
Fluency
423de9ae8d
add-miniconda: add docstrings to several key functions ( #2197 )
преди 4 години
Alex Hedges
8b07b92c37
Support newer miniconda filenames
преди 4 години
Alex Hedges
3a20ce7555
Add default verbosity to add_miniconda.py
Required to prevent a crash when no verbosity given.
преди 4 години
Chris Barnes
81e797be12
Miniconda script review comments
README, better docs + logging
преди 6 години
Chris Barnes
a9686fcae0
python-build: Use python 3.7 for miniconda >= 4.7
преди 6 години
Chris Barnes
1fb6e795b6
Script for new miniconda builds
Scrapes available miniconda builds from anaconda repo
преди 7 години