nodeenv 1.9.1__tar.gz → 1.11.0__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.0/.github/release.yml +22 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/.github/workflows/main.yml +21 -20
- nodeenv-1.11.0/.github/workflows/tests.yml +149 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/AUTHORS +22 -12
- nodeenv-1.9.1/PKG-INFO → nodeenv-1.11.0/CHANGES +230 -309
- {nodeenv-1.9.1 → nodeenv-1.11.0}/Makefile +17 -8
- {nodeenv-1.9.1/nodeenv.egg-info → nodeenv-1.11.0}/PKG-INFO +457 -13
- nodeenv-1.11.0/README +481 -0
- nodeenv-1.11.0/README.rst +481 -0
- nodeenv-1.11.0/nodeenv.egg-info/PKG-INFO +1209 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.egg-info/SOURCES.txt +5 -0
- nodeenv-1.11.0/nodeenv.egg-info/requires.txt +3 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.py +743 -83
- {nodeenv-1.9.1 → nodeenv-1.11.0}/requirements-dev.txt +3 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/setup.py +1 -0
- nodeenv-1.11.0/tests/nodeenv_test.py +2716 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/tests/nodejs_index.json +2 -2
- nodeenv-1.11.0/tests/test_activate_shells.py +423 -0
- nodeenv-1.11.0/tests/test_activate_win.py +192 -0
- nodeenv-1.11.0/tests/test_install_activate.py +638 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/tox.ini +2 -2
- nodeenv-1.9.1/CHANGES +0 -456
- nodeenv-1.9.1/README +0 -280
- nodeenv-1.9.1/README.rst +0 -280
- nodeenv-1.9.1/tests/nodeenv_test.py +0 -169
- nodeenv-1.9.1/tests/test_install_activate.py +0 -87
- {nodeenv-1.9.1 → nodeenv-1.11.0}/.coveragerc +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/.gitignore +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/LICENSE +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/MANIFEST.in +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/README.ru.rst +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/changelog +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/compat +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/control +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/copyright +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/nodeenv.links +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/nodeenv.triggers +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/debian-upstream/rules +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.egg-info/dependency_links.txt +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.egg-info/entry_points.txt +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.egg-info/not-zip-safe +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/nodeenv.egg-info/top_level.txt +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/pyproject.toml +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/setup.cfg +0 -0
- {nodeenv-1.9.1 → nodeenv-1.11.0}/tests/__init__.py +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
|
2
|
+
|
|
3
|
+
changelog:
|
|
4
|
+
categories:
|
|
5
|
+
- title: New Features 🎉
|
|
6
|
+
labels:
|
|
7
|
+
- new-feature
|
|
8
|
+
- title: Fixed bugs 🐛
|
|
9
|
+
labels:
|
|
10
|
+
- bug
|
|
11
|
+
- title: Improvements 🛠
|
|
12
|
+
labels:
|
|
13
|
+
- enhancement
|
|
14
|
+
- title: Dependencies 🤖
|
|
15
|
+
labels:
|
|
16
|
+
- deps
|
|
17
|
+
- title: Documentation 📄
|
|
18
|
+
labels:
|
|
19
|
+
- docs
|
|
20
|
+
- title: Other Changes
|
|
21
|
+
labels:
|
|
22
|
+
- "*"
|
|
@@ -10,23 +10,22 @@ on:
|
|
|
10
10
|
jobs:
|
|
11
11
|
tests:
|
|
12
12
|
name: Python ${{ matrix.python-version }}
|
|
13
|
-
runs-on: ubuntu-
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
14
|
|
|
15
15
|
strategy:
|
|
16
16
|
fail-fast: false
|
|
17
17
|
matrix:
|
|
18
18
|
python-version:
|
|
19
|
-
- '3.7'
|
|
20
|
-
- '3.8'
|
|
21
|
-
- '3.9'
|
|
22
19
|
- '3.10'
|
|
23
20
|
- '3.11'
|
|
24
21
|
- '3.12'
|
|
22
|
+
- '3.13'
|
|
23
|
+
- '3.14'
|
|
25
24
|
|
|
26
25
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
26
|
+
- uses: actions/checkout@v5
|
|
28
27
|
|
|
29
|
-
- uses: actions/setup-python@
|
|
28
|
+
- uses: actions/setup-python@v6
|
|
30
29
|
with:
|
|
31
30
|
python-version: ${{ matrix.python-version }}
|
|
32
31
|
|
|
@@ -39,33 +38,36 @@ jobs:
|
|
|
39
38
|
|
|
40
39
|
- name: Run tox targets for ${{ matrix.python-version }}
|
|
41
40
|
run: |
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
ENV_SUFFIX=$(echo "${{ matrix.python-version }}" | tr -d '.')
|
|
42
|
+
tox -e py${ENV_SUFFIX}
|
|
44
43
|
|
|
45
44
|
- name: Upload coverage data
|
|
46
|
-
|
|
45
|
+
if: always()
|
|
46
|
+
uses: actions/upload-artifact@v6
|
|
47
47
|
with:
|
|
48
|
-
name: coverage-data
|
|
49
|
-
path:
|
|
48
|
+
name: coverage-data-${{ matrix.python-version }}
|
|
49
|
+
path: .coverage.*
|
|
50
|
+
include-hidden-files: true
|
|
50
51
|
|
|
51
52
|
coverage:
|
|
52
53
|
name: Coverage
|
|
53
|
-
runs-on: ubuntu-
|
|
54
|
+
runs-on: ubuntu-latest
|
|
54
55
|
needs: tests
|
|
55
56
|
steps:
|
|
56
|
-
- uses: actions/checkout@
|
|
57
|
+
- uses: actions/checkout@v5
|
|
57
58
|
|
|
58
|
-
- uses: actions/setup-python@
|
|
59
|
+
- uses: actions/setup-python@v6
|
|
59
60
|
with:
|
|
60
|
-
python-version: '3.
|
|
61
|
+
python-version: '3.14'
|
|
61
62
|
|
|
62
63
|
- name: Install dependencies
|
|
63
64
|
run: python -m pip install --upgrade coverage[toml]
|
|
64
65
|
|
|
65
66
|
- name: Download data
|
|
66
|
-
uses: actions/download-artifact@
|
|
67
|
+
uses: actions/download-artifact@v7
|
|
67
68
|
with:
|
|
68
|
-
|
|
69
|
+
pattern: coverage-data-*
|
|
70
|
+
merge-multiple: true
|
|
69
71
|
|
|
70
72
|
- name: Combine coverage and fail if it's <100%
|
|
71
73
|
run: |
|
|
@@ -74,8 +76,7 @@ jobs:
|
|
|
74
76
|
python -m coverage report --fail-under=55
|
|
75
77
|
|
|
76
78
|
- name: Upload HTML report
|
|
77
|
-
|
|
78
|
-
uses: actions/upload-artifact@v3
|
|
79
|
+
uses: actions/upload-artifact@v6
|
|
79
80
|
with:
|
|
80
81
|
name: html-report
|
|
81
|
-
path:
|
|
82
|
+
path: coverage-html
|
|
@@ -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
|
+
|
|
@@ -17,9 +17,9 @@ Patches and Suggestions
|
|
|
17
17
|
- Eashwar Ranganathan
|
|
18
18
|
- Doug Turnbull
|
|
19
19
|
- Anton Parkhomenko
|
|
20
|
-
- syndbg
|
|
21
20
|
- Vyacheslav Levit
|
|
22
21
|
- Travis Miller
|
|
22
|
+
- syndbg
|
|
23
23
|
- Spencer Rathbun
|
|
24
24
|
- Robert Schwebel
|
|
25
25
|
- Luis Orduz
|
|
@@ -39,23 +39,16 @@ Patches and Suggestions
|
|
|
39
39
|
- Alex Couper
|
|
40
40
|
- 0Xellos
|
|
41
41
|
- zjeuhpiung liu
|
|
42
|
-
-
|
|
43
|
-
- urbandove
|
|
44
|
-
- sam
|
|
45
|
-
- rely10
|
|
46
|
-
- rachmadaniHaryono
|
|
47
|
-
- proItheus
|
|
48
|
-
- michael
|
|
49
|
-
- jiho
|
|
50
|
-
- dkgitdev
|
|
51
|
-
- dhilipsiva
|
|
52
|
-
- cmehay
|
|
42
|
+
- Zhaoqi Xu
|
|
53
43
|
- Zenobius Jiricek
|
|
44
|
+
- zbw
|
|
54
45
|
- Yi-Feng Tzeng
|
|
55
46
|
- Willem Jan Withagen
|
|
56
47
|
- Walter dos Santos Filho
|
|
57
48
|
- Vladimír Gorej
|
|
49
|
+
- Vizonex
|
|
58
50
|
- Vincent Bernat
|
|
51
|
+
- urbandove
|
|
59
52
|
- Uman Shahzad
|
|
60
53
|
- Tomi Belan
|
|
61
54
|
- Tom Whitwell
|
|
@@ -66,12 +59,22 @@ Patches and Suggestions
|
|
|
66
59
|
- Stan Seibert
|
|
67
60
|
- Shubhang Mani
|
|
68
61
|
- Sam James
|
|
62
|
+
- sam
|
|
63
|
+
- Rob Moss
|
|
69
64
|
- Rik
|
|
65
|
+
- rely10
|
|
66
|
+
- rachmadaniHaryono
|
|
67
|
+
- quazgar
|
|
68
|
+
- proItheus
|
|
70
69
|
- Philipp Dieter
|
|
71
70
|
- Philipp A
|
|
71
|
+
- Nathan Ernst
|
|
72
72
|
- Mrinal Wadhwa
|
|
73
73
|
- Michal Kolodziejski
|
|
74
|
+
- Michał Górny
|
|
75
|
+
- michael
|
|
74
76
|
- Maxim Mazurok
|
|
77
|
+
- max0x53
|
|
75
78
|
- Max R
|
|
76
79
|
- Max Melamed
|
|
77
80
|
- Max Liebkies
|
|
@@ -83,17 +86,24 @@ Patches and Suggestions
|
|
|
83
86
|
- Josh Soref
|
|
84
87
|
- Johnny Lim
|
|
85
88
|
- Joby Harding
|
|
89
|
+
- jiho
|
|
86
90
|
- Jesse Dhillon
|
|
87
91
|
- Jeremy Banks
|
|
88
92
|
- Jelle van der Waa
|
|
93
|
+
- Hugo van Kemenade
|
|
94
|
+
- Hugo
|
|
95
|
+
- Han Yeong-woo
|
|
89
96
|
- Geoffrey Huntley
|
|
90
97
|
- Fabricio C Zuardi
|
|
91
98
|
- Eashwar Ranganathan
|
|
92
99
|
- Duncan Bellamy
|
|
100
|
+
- dkgitdev
|
|
101
|
+
- dhilipsiva
|
|
93
102
|
- Dennis Flanigan
|
|
94
103
|
- Dan North
|
|
95
104
|
- Dan Fuchs
|
|
96
105
|
- Damien Nozay
|
|
106
|
+
- cmehay
|
|
97
107
|
- Brian Jacobel
|
|
98
108
|
- Ben Davis
|
|
99
109
|
- Ben Beasley
|