···51515252- The `power.ups` module now generates `upsd.conf`, `upsd.users` and `upsmon.conf` automatically from a set of new configuration options. This breaks compatibility with existing `power.ups` setups where these files were created manually. Back up these files before upgrading NixOS.
53535454-- `k9s` was updated to v0.30. There have been various breaking changes in the config file format,
5555- check out the changelog of [v0.29](https://github.com/derailed/k9s/releases/tag/v0.29.0) and
5656- [v0.30](https://github.com/derailed/k9s/releases/tag/v0.30.0) for details. It is recommended
5454+- `k9s` was updated to v0.31. There have been various breaking changes in the config file format,
5555+ check out the changelog of [v0.29](https://github.com/derailed/k9s/releases/tag/v0.29.0),
5656+ [v0.30](https://github.com/derailed/k9s/releases/tag/v0.30.0) and
5757+ [v0.31](https://github.com/derailed/k9s/releases/tag/v0.31.0) for details. It is recommended
5758 to back up your current configuration and let k9s recreate the new base configuration.
58595960- `idris2` was updated to v0.7.0. This version introduces breaking changes. Check out the [changelog](https://github.com/idris-lang/Idris2/blob/v0.7.0/CHANGELOG.md#v070) for details.
···210210 return (max(sorted(versions))).raw_version
211211212212213213-def _get_latest_version_pypi(package, extension, current_version, target):
213213+def _get_latest_version_pypi(attr_path, package, extension, current_version, target):
214214 """Get latest version and hash from PyPI."""
215215 url = "{}/{}/json".format(INDEX, package)
216216 json = _fetch_page(url)
···234234 return version, sha256, None
235235236236237237-def _get_latest_version_github(package, extension, current_version, target):
237237+def _get_latest_version_github(attr_path, package, extension, current_version, target):
238238 def strip_prefix(tag):
239239 return re.sub("^[^0-9]*", "", tag)
240240···242242 matches = re.findall(r"^([^0-9]*)", string)
243243 return next(iter(matches), "")
244244245245- # when invoked as an updateScript, UPDATE_NIX_ATTR_PATH will be set
246246- # this allows us to work with packages which live outside of python-modules
247247- attr_path = os.environ.get("UPDATE_NIX_ATTR_PATH", f"python3Packages.{package}")
248245 try:
249246 homepage = subprocess.check_output(
250247 [
···421418 # Attempt a fetch using each pname, e.g. backports-zoneinfo vs backports.zoneinfo
422419 successful_fetch = False
423420 for pname in pnames:
424424- if BULK_UPDATE and _skip_bulk_update(f"python3Packages.{pname}"):
421421+ # when invoked as an updateScript, UPDATE_NIX_ATTR_PATH will be set
422422+ # this allows us to work with packages which live outside of python-modules
423423+ attr_path = os.environ.get("UPDATE_NIX_ATTR_PATH", f"python3Packages.{pname}")
424424+425425+ if BULK_UPDATE and _skip_bulk_update(attr_path):
425426 raise ValueError(f"Bulk update skipped for {pname}")
426426- elif _get_attr_value(f"python3Packages.{pname}.cargoDeps") is not None:
427427+ elif _get_attr_value(f"{attr_path}.cargoDeps") is not None:
427428 raise ValueError(f"Cargo dependencies are unsupported, skipping {pname}")
428429 try:
429430 new_version, new_sha256, prefix = FETCHERS[fetcher](
430430- pname, extension, version, target
431431+ attr_path, pname, extension, version, target
431432 )
432433 successful_fetch = True
433434 break
···452453 sri_hash = _hash_to_sri("sha256", new_sha256)
453454454455 # retrieve the old output hash for a more precise match
455455- if old_hash := _get_attr_value(f"python3Packages.{pname}.src.outputHash"):
456456+ if old_hash := _get_attr_value(f"{attr_path}.src.outputHash"):
456457 # fetchers can specify a sha256, or a sri hash
457458 try:
458459 text = _replace_value("hash", sri_hash, text, old_hash)
···22, autoreconfHook
33, fetchPypi
44, buildPythonPackage
55-, cython
55+, cython_3
66, pariSupport ? true, pari # for interfacing with the PARI/GP signal handler
77}:
88···3434 '';
35353636 propagatedBuildInputs = [
3737- cython
3737+ cython_3
3838 ] ++ lib.optionals pariSupport [
3939 # When cysignals is built with pari, including cysignals into the
4040 # buildInputs of another python package will cause cython to link against