nodeenv 1.10.0__tar.gz → 1.11.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nodeenv-1.11.1/.github/workflows/tests.yml +149 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/AUTHORS +3 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/CHANGES +238 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/Makefile +2 -2
- {nodeenv-1.10.0 → nodeenv-1.11.1}/PKG-INFO +354 -11
- {nodeenv-1.10.0 → nodeenv-1.11.1}/README +112 -10
- {nodeenv-1.10.0 → nodeenv-1.11.1}/README.rst +112 -10
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/PKG-INFO +354 -11
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/SOURCES.txt +3 -0
- nodeenv-1.11.1/nodeenv.egg-info/requires.txt +3 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.py +732 -78
- {nodeenv-1.10.0 → nodeenv-1.11.1}/setup.py +1 -0
- nodeenv-1.11.1/tests/nodeenv_test.py +2751 -0
- nodeenv-1.11.1/tests/test_activate_shells.py +423 -0
- nodeenv-1.11.1/tests/test_activate_win.py +192 -0
- nodeenv-1.11.1/tests/test_install_activate.py +638 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/tox.ini +1 -1
- nodeenv-1.10.0/.github/workflows/tests.yml +0 -67
- nodeenv-1.10.0/tests/nodeenv_test.py +0 -1080
- nodeenv-1.10.0/tests/test_install_activate.py +0 -298
- {nodeenv-1.10.0 → nodeenv-1.11.1}/.coveragerc +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/.github/release.yml +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/.github/workflows/main.yml +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/.gitignore +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/LICENSE +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/MANIFEST.in +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/README.ru.rst +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/changelog +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/compat +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/control +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/copyright +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/nodeenv.links +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/nodeenv.triggers +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/debian-upstream/rules +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/dependency_links.txt +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/entry_points.txt +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/not-zip-safe +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/nodeenv.egg-info/top_level.txt +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/pyproject.toml +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/requirements-dev.txt +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/setup.cfg +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/tests/__init__.py +0 -0
- {nodeenv-1.10.0 → nodeenv-1.11.1}/tests/nodejs_index.json +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
- main
|
|
8
|
+
push:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ${{ matrix.os }}
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
matrix:
|
|
16
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
17
|
+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
23
|
+
uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: ${{ matrix.python-version }}
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
python -m pip install --upgrade pip
|
|
30
|
+
pip install -r requirements-dev.txt
|
|
31
|
+
|
|
32
|
+
- name: Run tests with tox
|
|
33
|
+
run: |
|
|
34
|
+
tox -e py$(echo ${{ matrix.python-version }} | tr -d '.')
|
|
35
|
+
|
|
36
|
+
- name: Run flake8
|
|
37
|
+
run: |
|
|
38
|
+
flake8 --extend-ignore=E127 nodeenv.py tests setup.py
|
|
39
|
+
|
|
40
|
+
activate-shells:
|
|
41
|
+
runs-on: ubuntu-latest
|
|
42
|
+
|
|
43
|
+
steps:
|
|
44
|
+
- uses: actions/checkout@v4
|
|
45
|
+
|
|
46
|
+
- name: Set up Python 3.14
|
|
47
|
+
uses: actions/setup-python@v5
|
|
48
|
+
with:
|
|
49
|
+
python-version: '3.14'
|
|
50
|
+
|
|
51
|
+
- name: Install shells
|
|
52
|
+
run: |
|
|
53
|
+
sudo apt-get update
|
|
54
|
+
sudo apt-get install -y zsh fish
|
|
55
|
+
|
|
56
|
+
- name: Install dependencies
|
|
57
|
+
run: |
|
|
58
|
+
python -m pip install --upgrade pip
|
|
59
|
+
pip install -r requirements-dev.txt
|
|
60
|
+
|
|
61
|
+
- name: Run activation script tests
|
|
62
|
+
env:
|
|
63
|
+
NODEENV_REQUIRE_SHELLS: '1'
|
|
64
|
+
run: |
|
|
65
|
+
pytest tests/test_activate_shells.py -v
|
|
66
|
+
|
|
67
|
+
# The only job that builds real node environments: the tests marked
|
|
68
|
+
# `integration` are deselected everywhere else. Deliberately ubuntu
|
|
69
|
+
# only - the install path is also platform specific, so macOS and
|
|
70
|
+
# Windows coverage of it was given up here to keep the matrix fast.
|
|
71
|
+
integration:
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
timeout-minutes: 10
|
|
74
|
+
|
|
75
|
+
steps:
|
|
76
|
+
- uses: actions/checkout@v4
|
|
77
|
+
|
|
78
|
+
- name: Set up Python 3.14
|
|
79
|
+
uses: actions/setup-python@v5
|
|
80
|
+
with:
|
|
81
|
+
python-version: '3.14'
|
|
82
|
+
|
|
83
|
+
- name: Install dependencies
|
|
84
|
+
run: |
|
|
85
|
+
python -m pip install --upgrade pip
|
|
86
|
+
pip install -r requirements-dev.txt
|
|
87
|
+
|
|
88
|
+
- name: Run integration tests
|
|
89
|
+
run: |
|
|
90
|
+
pytest -m integration tests/ -v
|
|
91
|
+
|
|
92
|
+
# The posix activate written on Windows is only useful in a shell that
|
|
93
|
+
# can source it, and `shell: bash` on a windows runner is git-bash -
|
|
94
|
+
# exactly the environment of issue #226.
|
|
95
|
+
git-bash:
|
|
96
|
+
runs-on: windows-latest
|
|
97
|
+
timeout-minutes: 10
|
|
98
|
+
defaults:
|
|
99
|
+
run:
|
|
100
|
+
shell: bash
|
|
101
|
+
|
|
102
|
+
steps:
|
|
103
|
+
- uses: actions/checkout@v4
|
|
104
|
+
|
|
105
|
+
- name: Set up Python 3.14
|
|
106
|
+
uses: actions/setup-python@v5
|
|
107
|
+
with:
|
|
108
|
+
python-version: '3.14'
|
|
109
|
+
|
|
110
|
+
- name: Install dependencies
|
|
111
|
+
run: |
|
|
112
|
+
python -m pip install --upgrade pip
|
|
113
|
+
pip install -r requirements-dev.txt
|
|
114
|
+
|
|
115
|
+
- name: Run git-bash activation test
|
|
116
|
+
# $BASH is the shell running this step, which is the git-bash the
|
|
117
|
+
# test needs: `bash` from PATH would be the WSL launcher
|
|
118
|
+
run: |
|
|
119
|
+
export NODEENV_GIT_BASH="$(cygpath -w "$BASH")"
|
|
120
|
+
pytest -m integration -k git_bash tests/ -v
|
|
121
|
+
|
|
122
|
+
coverage:
|
|
123
|
+
runs-on: ubuntu-latest
|
|
124
|
+
steps:
|
|
125
|
+
- uses: actions/checkout@v4
|
|
126
|
+
|
|
127
|
+
- name: Set up Python 3.14
|
|
128
|
+
uses: actions/setup-python@v5
|
|
129
|
+
with:
|
|
130
|
+
python-version: '3.14'
|
|
131
|
+
|
|
132
|
+
- name: Install dependencies
|
|
133
|
+
run: |
|
|
134
|
+
python -m pip install --upgrade pip
|
|
135
|
+
pip install -r requirements-dev.txt
|
|
136
|
+
|
|
137
|
+
- name: Run tests with coverage
|
|
138
|
+
run: |
|
|
139
|
+
coverage run -p -m pytest -m 'not integration'
|
|
140
|
+
coverage report -m
|
|
141
|
+
coverage html
|
|
142
|
+
|
|
143
|
+
- name: Upload coverage report
|
|
144
|
+
uses: actions/upload-artifact@v4
|
|
145
|
+
if: always()
|
|
146
|
+
with:
|
|
147
|
+
name: coverage-report
|
|
148
|
+
path: coverage-html/
|
|
149
|
+
|
|
@@ -39,6 +39,7 @@ Patches and Suggestions
|
|
|
39
39
|
- Alex Couper
|
|
40
40
|
- 0Xellos
|
|
41
41
|
- zjeuhpiung liu
|
|
42
|
+
- Zhaoqi Xu
|
|
42
43
|
- Zenobius Jiricek
|
|
43
44
|
- zbw
|
|
44
45
|
- Yi-Feng Tzeng
|
|
@@ -63,9 +64,11 @@ Patches and Suggestions
|
|
|
63
64
|
- Rik
|
|
64
65
|
- rely10
|
|
65
66
|
- rachmadaniHaryono
|
|
67
|
+
- quazgar
|
|
66
68
|
- proItheus
|
|
67
69
|
- Philipp Dieter
|
|
68
70
|
- Philipp A
|
|
71
|
+
- Nathan Ernst
|
|
69
72
|
- Mrinal Wadhwa
|
|
70
73
|
- Michal Kolodziejski
|
|
71
74
|
- Michał Górny
|
|
@@ -1,6 +1,244 @@
|
|
|
1
1
|
Nodeenv changelog
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
+
Version 1.11.1
|
|
5
|
+
--------------
|
|
6
|
+
- `latest`, the default, and semver ranges such as `--node=26` no longer
|
|
7
|
+
pick pre-releases: once nodejs.org listed `27.0.0-alpha.0.0.0`, both
|
|
8
|
+
stopped with a traceback. An exact pre-release, such as
|
|
9
|
+
`--node=27.0.0-alpha.0.0.0`, installs instead of crashing as well
|
|
10
|
+
`#453 <https://github.com/ekalinin/nodeenv/issues/453>`_
|
|
11
|
+
|
|
12
|
+
Version 1.11.0
|
|
13
|
+
--------------
|
|
14
|
+
- Fixed zsh `source bin/activate` aborting on the direct-call guard `#398 <https://github.com/ekalinin/nodeenv/issues/398>`_
|
|
15
|
+
- Added check for how `activate` is called
|
|
16
|
+
`#384 <https://github.com/ekalinin/nodeenv/pull/384>`_
|
|
17
|
+
- Addressed the ``tarfile.extractall`` deprecation on Python >= 3.12 by
|
|
18
|
+
setting ``filter='data'``, which also prevents writing files via ".." or
|
|
19
|
+
absolute paths `#380 <https://github.com/ekalinin/nodeenv/pull/380>`_
|
|
20
|
+
- Added support for Solaris/illumos
|
|
21
|
+
`#360 <https://github.com/ekalinin/nodeenv/issues/360>`_
|
|
22
|
+
- Added `predeactivate` hooks for Windows
|
|
23
|
+
- Added error handling and tests for the node installation
|
|
24
|
+
`#336 <https://github.com/ekalinin/nodeenv/issues/336>`_
|
|
25
|
+
- Removed the leftover debug `print` that leaked a dict to stdout on every
|
|
26
|
+
version detection `#390 <https://github.com/ekalinin/nodeenv/issues/390>`_
|
|
27
|
+
- Added `--with-certifi` to download packages with the certifi certificate
|
|
28
|
+
bundle `#388 <https://github.com/ekalinin/nodeenv/pull/388>`_
|
|
29
|
+
- `--node` accepts npm-style semver ranges
|
|
30
|
+
`#393 <https://github.com/ekalinin/nodeenv/pull/393>`_
|
|
31
|
+
- Added `--prefer-system` to use system-wide node.js when available and
|
|
32
|
+
install one otherwise `#153 <https://github.com/ekalinin/nodeenv/issues/153>`_
|
|
33
|
+
- Added `--isolate-npm` to keep npm cache, userconfig and init-module inside
|
|
34
|
+
the environment `#154 <https://github.com/ekalinin/nodeenv/issues/154>`_
|
|
35
|
+
- Added tests that run the activation scripts in sh, dash, bash, zsh and fish.
|
|
36
|
+
- `-p` no longer reinstalls node when the requested version is already in the
|
|
37
|
+
virtualenv `#159 <https://github.com/ekalinin/nodeenv/issues/159>`_
|
|
38
|
+
- Repeated `-p` runs no longer duplicate the `predeactivate` hook
|
|
39
|
+
`#159 <https://github.com/ekalinin/nodeenv/issues/159>`_
|
|
40
|
+
- `-p` accepts an optional virtualenv directory and prefers the activated
|
|
41
|
+
`VIRTUAL_ENV` over the virtualenv nodeenv itself is installed in
|
|
42
|
+
`#156 <https://github.com/ekalinin/nodeenv/issues/156>`_
|
|
43
|
+
- `-r/--requirements` may now be given more than once, and the new
|
|
44
|
+
`--local-requirements` installs the packages of a file locally, into
|
|
45
|
+
"node_modules" of the current directory, which is what `freeze -l` writes.
|
|
46
|
+
Under npm < 1.0.0, which has no `-g`, a local file is still installed the
|
|
47
|
+
old way `#206 <https://github.com/ekalinin/nodeenv/issues/206>`_
|
|
48
|
+
- The "src" directory is now removed after installation by default, which
|
|
49
|
+
halves the size of an environment. Added `--no-clean-src` to keep it: with
|
|
50
|
+
`--source` that is what lets a repeated `--force` build reuse the
|
|
51
|
+
downloaded source tree
|
|
52
|
+
`#205 <https://github.com/ekalinin/nodeenv/issues/205>`_
|
|
53
|
+
- Documented that `--mirror` takes a `file://` URL, so a local directory can
|
|
54
|
+
serve as the download source
|
|
55
|
+
`#193 <https://github.com/ekalinin/nodeenv/issues/193>`_
|
|
56
|
+
- The posix `activate` is now written on Windows too, into "Scripts", so
|
|
57
|
+
git-bash and the other posix shells there can activate an environment
|
|
58
|
+
`#226 <https://github.com/ekalinin/nodeenv/issues/226>`_
|
|
59
|
+
- A download that reaches nothing at all, which a broken `http_proxy` or
|
|
60
|
+
`https_proxy` usually causes, now reports the url and the proxy settings
|
|
61
|
+
instead of a traceback
|
|
62
|
+
`#229 <https://github.com/ekalinin/nodeenv/issues/229>`_
|
|
63
|
+
- On Windows `-p` extends "activate.bat", "deactivate.bat" and
|
|
64
|
+
"Activate.ps1" of the python virtualenv instead of overwriting them, so
|
|
65
|
+
`VIRTUAL_ENV` and the virtualenv's own deactivation survive
|
|
66
|
+
`#243 <https://github.com/ekalinin/nodeenv/issues/243>`_
|
|
67
|
+
- A missing node.js archive now reports the urls that were tried and points
|
|
68
|
+
at `--list` and `--source` instead of a traceback
|
|
69
|
+
`#250 <https://github.com/ekalinin/nodeenv/issues/250>`_
|
|
70
|
+
- `freeze` now reads `npm ls --parseable` instead of the drawn tree: scoped
|
|
71
|
+
packages keep their scope, a package whose name contains "npm" is no longer
|
|
72
|
+
dropped, and `npm` and `corepack`, which come with node.js itself, are left
|
|
73
|
+
out of the list. The fish version, which printed nothing at all under
|
|
74
|
+
npm >= 1, now writes the same file as the posix one
|
|
75
|
+
`#287 <https://github.com/ekalinin/nodeenv/issues/287>`_
|
|
76
|
+
- musl is now detected whatever the vendor field of the host triplet says,
|
|
77
|
+
so Alpine's own python3 (``x86_64-alpine-linux-musl``) gets the musl build
|
|
78
|
+
of node.js instead of the glibc one
|
|
79
|
+
`#290 <https://github.com/ekalinin/nodeenv/issues/290>`_
|
|
80
|
+
- On Windows "nodejs.exe" is linked with ``os.symlink``, falling back to a
|
|
81
|
+
hard link, instead of ``mklink``, which broke on paths with forward slashes
|
|
82
|
+
or spaces and needs elevation or Developer Mode. If both fail, only a
|
|
83
|
+
warning is logged `#303 <https://github.com/ekalinin/nodeenv/issues/303>`_
|
|
84
|
+
|
|
85
|
+
Version 1.10.0
|
|
86
|
+
--------------
|
|
87
|
+
- Added support for Python 3.13 `#367 <https://github.com/ekalinin/nodeenv/pull/367>`_
|
|
88
|
+
- Added support for UV virtual environments
|
|
89
|
+
`#386 <https://github.com/ekalinin/nodeenv/pull/386>`_
|
|
90
|
+
- Used `sh` instead of `bash` `#389 <https://github.com/ekalinin/nodeenv/pull/389>`_
|
|
91
|
+
- Replaced the remaining `which(1)` calls with `shutil.which()`
|
|
92
|
+
`#355 <https://github.com/ekalinin/nodeenv/pull/355>`_
|
|
93
|
+
- Supported a leading `v` in `.node-version`
|
|
94
|
+
`#359 <https://github.com/ekalinin/nodeenv/pull/359>`_
|
|
95
|
+
- Checked the host platform when finding the `node` version
|
|
96
|
+
`#363 <https://github.com/ekalinin/nodeenv/pull/363>`_
|
|
97
|
+
- Fixed `archmap` lookup to be lowercase
|
|
98
|
+
`#382 <https://github.com/ekalinin/nodeenv/pull/382>`_
|
|
99
|
+
|
|
100
|
+
Version 1.9.1
|
|
101
|
+
-------------
|
|
102
|
+
- Fixed version discovery `#358 <https://github.com/ekalinin/nodeenv/pull/358>`_
|
|
103
|
+
`#356 <https://github.com/ekalinin/nodeenv/issues/356>`_
|
|
104
|
+
|
|
105
|
+
Version 1.9.0
|
|
106
|
+
-------------
|
|
107
|
+
- Switched to `packaging` for version comparison
|
|
108
|
+
`#338 <https://github.com/ekalinin/nodeenv/pull/338>`_ and then dropped the
|
|
109
|
+
dependency in favor of a simple version-parsing function
|
|
110
|
+
`#352 <https://github.com/ekalinin/nodeenv/pull/352>`_
|
|
111
|
+
- Fixed GitHub Actions `#347 <https://github.com/ekalinin/nodeenv/pull/347>`_
|
|
112
|
+
- Added Python 3.11 and 3.12 test coverage
|
|
113
|
+
`#348 <https://github.com/ekalinin/nodeenv/pull/348>`_
|
|
114
|
+
- Added support for shells with "set -u"
|
|
115
|
+
`#345 <https://github.com/ekalinin/nodeenv/pull/345>`_
|
|
116
|
+
- Replaced `pipes.quote` with `shlex.quote` on Python 3.3+
|
|
117
|
+
`#342 <https://github.com/ekalinin/nodeenv/pull/342>`_
|
|
118
|
+
- Removed usage of the non-portable `which`
|
|
119
|
+
`#346 <https://github.com/ekalinin/nodeenv/pull/346>`_
|
|
120
|
+
|
|
121
|
+
Version 1.8.0
|
|
122
|
+
-------------
|
|
123
|
+
- Fixed the function name in `fish_prompt`
|
|
124
|
+
`#312 <https://github.com/ekalinin/nodeenv/pull/312>`_
|
|
125
|
+
- Added support for riscv64 `#313 <https://github.com/ekalinin/nodeenv/pull/313>`_
|
|
126
|
+
- Upgraded GitHub Actions `#317 <https://github.com/ekalinin/nodeenv/pull/317>`_
|
|
127
|
+
- Made the `mock` dependency optional
|
|
128
|
+
`#320 <https://github.com/ekalinin/nodeenv/pull/320>`_
|
|
129
|
+
- GitHub Actions: `fail-fast: false`
|
|
130
|
+
`#327 <https://github.com/ekalinin/nodeenv/pull/327>`_
|
|
131
|
+
- Made multiple attempts to download the node.js archive (IncompleteRead error)
|
|
132
|
+
`#329 <https://github.com/ekalinin/nodeenv/pull/329>`_
|
|
133
|
+
- Logged the URL on download failures
|
|
134
|
+
`#330 <https://github.com/ekalinin/nodeenv/pull/330>`_
|
|
135
|
+
|
|
136
|
+
Version 1.7.0
|
|
137
|
+
-------------
|
|
138
|
+
- Dropped python3.4, python3.5 and python3.6
|
|
139
|
+
- Supported python releases before 3.7 in tests
|
|
140
|
+
`#272 <https://github.com/ekalinin/nodeenv/pull/272>`_
|
|
141
|
+
- Required setuptools in setup.py
|
|
142
|
+
`#289 <https://github.com/ekalinin/nodeenv/pull/289>`_
|
|
143
|
+
- Used the version specified in `.node-version` if it exists
|
|
144
|
+
`#288 <https://github.com/ekalinin/nodeenv/pull/288>`_
|
|
145
|
+
- Fixed the problem when used with fish and virtualenv
|
|
146
|
+
`#294 <https://github.com/ekalinin/nodeenv/pull/294>`_
|
|
147
|
+
- Replaced optparse with argparse
|
|
148
|
+
`#295 <https://github.com/ekalinin/nodeenv/pull/295>`_
|
|
149
|
+
- Set the SSL protocol when ssl certs are ignored
|
|
150
|
+
`#296 <https://github.com/ekalinin/nodeenv/issues/296>`_
|
|
151
|
+
- Fixed tests, tested Python 3.10 and moved tests to GitHub Actions
|
|
152
|
+
`#298 <https://github.com/ekalinin/nodeenv/pull/298>`_
|
|
153
|
+
- Patched node installation for M1
|
|
154
|
+
`#299 <https://github.com/ekalinin/nodeenv/pull/299>`_
|
|
155
|
+
- Added ability to configure the mirror through the settings file
|
|
156
|
+
`#307 <https://github.com/ekalinin/nodeenv/pull/307>`_
|
|
157
|
+
- Added `--with-npm` to README `#308 <https://github.com/ekalinin/nodeenv/pull/308>`_
|
|
158
|
+
|
|
159
|
+
Version 1.6.0
|
|
160
|
+
-------------
|
|
161
|
+
- Tested for `nodejs` or `node` in tests
|
|
162
|
+
`#270 <https://github.com/ekalinin/nodeenv/pull/270>`_
|
|
163
|
+
- Removed the main node.js mirror in tests if musl
|
|
164
|
+
`#271 <https://github.com/ekalinin/nodeenv/pull/271>`_
|
|
165
|
+
- Fixed the nodeenv prompt when using Fish
|
|
166
|
+
`#273 <https://github.com/ekalinin/nodeenv/pull/273>`_
|
|
167
|
+
- Used `node` instead of `nodejs` `#275 <https://github.com/ekalinin/nodeenv/pull/275>`_
|
|
168
|
+
- Fixed typo, remaning -> remaining
|
|
169
|
+
`#276 <https://github.com/ekalinin/nodeenv/pull/276>`_
|
|
170
|
+
- Resolved the venv dir for Fish
|
|
171
|
+
`#277 <https://github.com/ekalinin/nodeenv/pull/277>`_
|
|
172
|
+
- Added support for installing the latest LTS release
|
|
173
|
+
`#281 <https://github.com/ekalinin/nodeenv/pull/281>`_
|
|
174
|
+
- Created a broad mapping for M1
|
|
175
|
+
`#282 <https://github.com/ekalinin/nodeenv/pull/282>`_
|
|
176
|
+
|
|
177
|
+
Version 1.5.0
|
|
178
|
+
-------------
|
|
179
|
+
- Improved quoting of variables in the node shim for `-n system`
|
|
180
|
+
`#259 <https://github.com/ekalinin/nodeenv/pull/259>`_
|
|
181
|
+
- Added `--ignore_ssl_certs` to ignore SSL certs for MITM/firewalls
|
|
182
|
+
`#256 <https://github.com/ekalinin/nodeenv/pull/256>`_
|
|
183
|
+
- Added support for MSYS2 `#263 <https://github.com/ekalinin/nodeenv/pull/263>`_
|
|
184
|
+
- Added missing arch's (ppc64le, armv8l, s390x)
|
|
185
|
+
`#268 <https://github.com/ekalinin/nodeenv/pull/268>`_
|
|
186
|
+
|
|
187
|
+
Version 1.4.0
|
|
188
|
+
-------------
|
|
189
|
+
- Switched to `/download/release/index.json` to discover versions
|
|
190
|
+
- Dropped io.js support
|
|
191
|
+
- Worked around IncompleteRead when downloading src
|
|
192
|
+
`#258 <https://github.com/ekalinin/nodeenv/pull/258>`_
|
|
193
|
+
- Fixed erasing of NODE_VIRTUAL_ENV while `deactivate_node` in fish
|
|
194
|
+
`#255 <https://github.com/ekalinin/nodeenv/pull/255>`_
|
|
195
|
+
- Accepted a URL as well as a domain name for the `--mirror` argument
|
|
196
|
+
`#252 <https://github.com/ekalinin/nodeenv/pull/252>`_
|
|
197
|
+
- Downloaded musl-compatible node from unofficial-builds
|
|
198
|
+
`#247 <https://github.com/ekalinin/nodeenv/pull/247>`_
|
|
199
|
+
|
|
200
|
+
Version 1.3.5
|
|
201
|
+
-------------
|
|
202
|
+
- Fixed error 183 ("already exists") on Windows when installing prebuilt node
|
|
203
|
+
`#249 <https://github.com/ekalinin/nodeenv/issues/249>`_
|
|
204
|
+
|
|
205
|
+
Version 1.3.4
|
|
206
|
+
-------------
|
|
207
|
+
- Used the prebuilt windows zip which contains npm
|
|
208
|
+
`#230 <https://github.com/ekalinin/nodeenv/pull/230>`_
|
|
209
|
+
- Fixed url in the CHANGES file
|
|
210
|
+
`#231 <https://github.com/ekalinin/nodeenv/pull/231>`_
|
|
211
|
+
- Fixed escape sequences `#232 <https://github.com/ekalinin/nodeenv/pull/232>`_
|
|
212
|
+
- Fixed `npm_url` in `install_npm_win`
|
|
213
|
+
`#233 <https://github.com/ekalinin/nodeenv/pull/233>`_
|
|
214
|
+
- Changed the URL for downloading npm in Cygwin
|
|
215
|
+
`#234 <https://github.com/ekalinin/nodeenv/pull/234>`_
|
|
216
|
+
- Fixed nodeenv in case python4 is ever a thing
|
|
217
|
+
`#241 <https://github.com/ekalinin/nodeenv/pull/241>`_
|
|
218
|
+
- Produced py2.py3 wheels, nodeenv is a pure python package
|
|
219
|
+
`#242 <https://github.com/ekalinin/nodeenv/pull/242>`_
|
|
220
|
+
- Printed a blank line when `install_node` fails
|
|
221
|
+
`#236 <https://github.com/ekalinin/nodeenv/pull/236>`_
|
|
222
|
+
- Added an option to set your own mirror
|
|
223
|
+
`#208 <https://github.com/ekalinin/nodeenv/pull/208>`_
|
|
224
|
+
- Fixed CI (flake8 errors) `#245 <https://github.com/ekalinin/nodeenv/pull/245>`_
|
|
225
|
+
- Fixed call to `logger.info(...)`
|
|
226
|
+
`#246 <https://github.com/ekalinin/nodeenv/pull/246>`_
|
|
227
|
+
|
|
228
|
+
Version 1.3.3
|
|
229
|
+
-------------
|
|
230
|
+
- Installed a certain npm version via `npm install`
|
|
231
|
+
`#225 <https://github.com/ekalinin/nodeenv/issues/225>`_
|
|
232
|
+
|
|
233
|
+
Version 1.3.2
|
|
234
|
+
-------------
|
|
235
|
+
- Updated node/node -> node/cli `#222 <https://github.com/ekalinin/nodeenv/pull/222>`_
|
|
236
|
+
- Fixed arch detection on FreeBSD, which returns amd64
|
|
237
|
+
`#216 <https://github.com/ekalinin/nodeenv/pull/216>`_
|
|
238
|
+
- Added a space before the normal $PS1
|
|
239
|
+
`#213 <https://github.com/ekalinin/nodeenv/pull/213>`_
|
|
240
|
+
- Dropped py33 support
|
|
241
|
+
|
|
4
242
|
Version 1.3.1
|
|
5
243
|
-------------
|
|
6
244
|
- Windows related fix `#207 <https://github.com/ekalinin/nodeenv/pull/207>`_
|
|
@@ -21,7 +21,7 @@ deploy-pypi:
|
|
|
21
21
|
update-pypi:
|
|
22
22
|
$(PYTHON) setup.py register
|
|
23
23
|
|
|
24
|
-
deploy: contributors deploy-github deploy-pypi
|
|
24
|
+
deploy: contributors ut deploy-github deploy-pypi
|
|
25
25
|
|
|
26
26
|
clean:
|
|
27
27
|
@rm -rf nodeenv.egg-info/
|
|
@@ -142,7 +142,7 @@ ut: env-dev
|
|
|
142
142
|
|
|
143
143
|
coverage: env-dev
|
|
144
144
|
@. ${DEV_TEST_ENV}/bin/activate && \
|
|
145
|
-
coverage run -p -m pytest && \
|
|
145
|
+
coverage run -p -m pytest -m 'not integration' && \
|
|
146
146
|
coverage report -m && \
|
|
147
147
|
coverage html
|
|
148
148
|
|