Skip to content

Update nodeenv to 1.11.0 - #751

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-nodeenv-1.8.0-to-1.11.0
Open

pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-nodeenv-1.8.0-to-1.11.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates nodeenv from 1.8.0 to 1.11.0.

Changelog

1.11.0

--------------
- Fixed zsh `source bin/activate` aborting on the direct-call guard `398 <https://github.com/ekalinin/nodeenv/issues/398>`_
- Added check for how `activate` is called
`384 <https://github.com/ekalinin/nodeenv/pull/384>`_
- Addressed the ``tarfile.extractall`` deprecation on Python >= 3.12 by
setting ``filter='data'``, which also prevents writing files via ".." or
absolute paths `380 <https://github.com/ekalinin/nodeenv/pull/380>`_
- Added support for Solaris/illumos
`360 <https://github.com/ekalinin/nodeenv/issues/360>`_
- Added `predeactivate` hooks for Windows
- Added error handling and tests for the node installation
`336 <https://github.com/ekalinin/nodeenv/issues/336>`_
- Removed the leftover debug `print` that leaked a dict to stdout on every
version detection `390 <https://github.com/ekalinin/nodeenv/issues/390>`_
- Added `--with-certifi` to download packages with the certifi certificate
bundle `388 <https://github.com/ekalinin/nodeenv/pull/388>`_
- `--node` accepts npm-style semver ranges
`393 <https://github.com/ekalinin/nodeenv/pull/393>`_
- Added `--prefer-system` to use system-wide node.js when available and
install one otherwise `153 <https://github.com/ekalinin/nodeenv/issues/153>`_
- Added `--isolate-npm` to keep npm cache, userconfig and init-module inside
the environment `154 <https://github.com/ekalinin/nodeenv/issues/154>`_
- Added tests that run the activation scripts in sh, dash, bash, zsh and fish.
- `-p` no longer reinstalls node when the requested version is already in the
virtualenv `159 <https://github.com/ekalinin/nodeenv/issues/159>`_
- Repeated `-p` runs no longer duplicate the `predeactivate` hook
`159 <https://github.com/ekalinin/nodeenv/issues/159>`_
- `-p` accepts an optional virtualenv directory and prefers the activated
`VIRTUAL_ENV` over the virtualenv nodeenv itself is installed in
`156 <https://github.com/ekalinin/nodeenv/issues/156>`_
- `-r/--requirements` may now be given more than once, and the new
`--local-requirements` installs the packages of a file locally, into
"node_modules" of the current directory, which is what `freeze -l` writes.
Under npm < 1.0.0, which has no `-g`, a local file is still installed the
old way `206 <https://github.com/ekalinin/nodeenv/issues/206>`_
- The "src" directory is now removed after installation by default, which
halves the size of an environment. Added `--no-clean-src` to keep it: with
`--source` that is what lets a repeated `--force` build reuse the
downloaded source tree
`205 <https://github.com/ekalinin/nodeenv/issues/205>`_
- Documented that `--mirror` takes a `file://` URL, so a local directory can
serve as the download source
`193 <https://github.com/ekalinin/nodeenv/issues/193>`_
- The posix `activate` is now written on Windows too, into "Scripts", so
git-bash and the other posix shells there can activate an environment
`226 <https://github.com/ekalinin/nodeenv/issues/226>`_
- A download that reaches nothing at all, which a broken `http_proxy` or
`https_proxy` usually causes, now reports the url and the proxy settings
instead of a traceback
`229 <https://github.com/ekalinin/nodeenv/issues/229>`_
- On Windows `-p` extends "activate.bat", "deactivate.bat" and
"Activate.ps1" of the python virtualenv instead of overwriting them, so
`VIRTUAL_ENV` and the virtualenv's own deactivation survive
`243 <https://github.com/ekalinin/nodeenv/issues/243>`_
- A missing node.js archive now reports the urls that were tried and points
at `--list` and `--source` instead of a traceback
`250 <https://github.com/ekalinin/nodeenv/issues/250>`_
- `freeze` now reads `npm ls --parseable` instead of the drawn tree: scoped
packages keep their scope, a package whose name contains "npm" is no longer
dropped, and `npm` and `corepack`, which come with node.js itself, are left
out of the list. The fish version, which printed nothing at all under
npm >= 1, now writes the same file as the posix one
`287 <https://github.com/ekalinin/nodeenv/issues/287>`_
- musl is now detected whatever the vendor field of the host triplet says,
so Alpine's own python3 (``x86_64-alpine-linux-musl``) gets the musl build
of node.js instead of the glibc one
`290 <https://github.com/ekalinin/nodeenv/issues/290>`_
- On Windows "nodejs.exe" is linked with ``os.symlink``, falling back to a
hard link, instead of ``mklink``, which broke on paths with forward slashes
or spaces and needs elevation or Developer Mode. If both fail, only a
warning is logged `303 <https://github.com/ekalinin/nodeenv/issues/303>`_

1.10.0

--------------
- Added support for Python 3.13 `367 <https://github.com/ekalinin/nodeenv/pull/367>`_
- Added support for UV virtual environments
`386 <https://github.com/ekalinin/nodeenv/pull/386>`_
- Used `sh` instead of `bash` `389 <https://github.com/ekalinin/nodeenv/pull/389>`_
- Replaced the remaining `which(1)` calls with `shutil.which()`
`355 <https://github.com/ekalinin/nodeenv/pull/355>`_
- Supported a leading `v` in `.node-version`
`359 <https://github.com/ekalinin/nodeenv/pull/359>`_
- Checked the host platform when finding the `node` version
`363 <https://github.com/ekalinin/nodeenv/pull/363>`_
- Fixed `archmap` lookup to be lowercase
`382 <https://github.com/ekalinin/nodeenv/pull/382>`_

1.9.1

-------------
- Fixed version discovery `358 <https://github.com/ekalinin/nodeenv/pull/358>`_
`356 <https://github.com/ekalinin/nodeenv/issues/356>`_

1.9.0

-------------
- Switched to `packaging` for version comparison
`338 <https://github.com/ekalinin/nodeenv/pull/338>`_ and then dropped the
dependency in favor of a simple version-parsing function
`352 <https://github.com/ekalinin/nodeenv/pull/352>`_
- Fixed GitHub Actions `347 <https://github.com/ekalinin/nodeenv/pull/347>`_
- Added Python 3.11 and 3.12 test coverage
`348 <https://github.com/ekalinin/nodeenv/pull/348>`_
- Added support for shells with "set -u"
`345 <https://github.com/ekalinin/nodeenv/pull/345>`_
- Replaced `pipes.quote` with `shlex.quote` on Python 3.3+
`342 <https://github.com/ekalinin/nodeenv/pull/342>`_
- Removed usage of the non-portable `which`
`346 <https://github.com/ekalinin/nodeenv/pull/346>`_
Links

@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5f02dc7) to head (4499634).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #751   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          126       126           
=========================================
  Hits           126       126           
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant