Pradyun Gedam
cfaa08efed
Remove a sorted call
...
Otherwise, we'd try sorting this list twice.
2020-05-21 19:32:28 +05:30
Pradyun Gedam
f5ff110df7
Apply suggestion from review comments
...
Co-authored-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
2020-05-21 19:29:18 +05:30
Paul Moore
8d79644170
Make nox upload-release work on Windows
2020-05-21 11:32:47 +01:00
Pradyun Gedam
4d42b89713
Fix copying distribution files from checkout
2020-04-21 07:49:09 +05:30
Paul Moore
e8613ffcaa
Remove pip version requirement for vendoring
2020-04-14 11:03:48 +01:00
Paul Moore
8db9f5bdb6
Add a vendoring session to noxfile.py
2020-04-13 12:32:28 +01:00
Pradyun Gedam
de633cdf4b
Significantly improve release version validation
2020-04-11 23:43:07 +05:30
Pradyun Gedam
a8058fe9e9
Speed up nox -s docs
2020-03-14 00:29:04 +05:30
Pradyun Gedam
540d3aa0ec
Fix nox -s docs
2020-02-11 19:10:27 +05:30
Sviatoslav Sydorenko
d772171ad9
♻ Relocate get_git_untracked_files to utils
2020-02-03 11:22:02 +01:00
Sviatoslav Sydorenko
9d592b394a
🎨 Copy and log built dists explicitly
2020-02-03 11:14:31 +01:00
Sviatoslav Sydorenko
6f1a43e4b2
Relocate helper CMs to tools.automation.release
2020-02-03 11:00:40 +01:00
Sviatoslav Sydorenko
6a0b1f2675
Refactor the untracked files check
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-03 11:00:36 +01:00
Sviatoslav Sydorenko
75f8c6d6ff
Reword has_git_untracked_files error log msg
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-03 10:53:32 +01:00
Sviatoslav Sydorenko
3306f21ed8
Drop unnecessary build dir cleanup in tmp checkout
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-03 10:53:32 +01:00
Sviatoslav Sydorenko
db028e516c
Refactor isolated_temporary_checkout CM naming
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-03 10:53:32 +01:00
Sviatoslav Sydorenko
daba4b4c9e
Move tmp dir logging to build_release
2020-02-03 10:53:31 +01:00
Sviatoslav Sydorenko
01c4553754
Make mk_tmp_git_checkout docstring shorter
2020-02-03 10:53:31 +01:00
Sviatoslav Sydorenko
bed90abe2d
Remove dist/
before copying the dists back
2020-02-03 10:53:29 +01:00
Sviatoslav Sydorenko
3da19325f4
Use nox.sessions.Session.chdir instead of os.chdir
2020-02-03 10:52:57 +01:00
Sviatoslav Sydorenko
63ee9b702b
Make release task build dists @ clean tmp checkout
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-03 10:52:53 +01:00
Sviatoslav Sydorenko
957fb28b30
Abort on Git-untracked files in the workdir
...
Allow own `.nox/` runtime env files.
2020-02-03 10:44:56 +01:00
Sviatoslav Sydorenko
231ce2e36c
Revert " 🔥 Exterminate files that aren't Git-tracked"
...
This reverts commit 9c1a4d4c4d
.
2020-02-03 10:44:56 +01:00
Sviatoslav Sydorenko
9f92d3d465
🔥 Exterminate files that aren't Git-tracked
...
This is a follow-up improvement for
https://github.com/pypa/pip/pull/7624/files
2020-02-03 10:44:56 +01:00
Sviatoslav Sydorenko
fb2598a645
Suggest a way of cleaning dist if non-empty
2020-01-30 20:54:36 -05:00
Pradyun Gedam
b9555fb9d4
Empty build directory before building distributions
...
Mainly to avoid pypa/wheel#147
2020-01-21 18:43:36 +05:30
Pradyun Gedam
bda17b73e6
Add dist/ prefix to expected filenames
2020-01-21 18:43:36 +05:30
Pradyun Gedam
4b1c3484b0
Minor updates to noxfile.py ( #7330 )
2019-11-11 11:19:16 +05:30
Pradyun Gedam
22cdfd6ad1
nox: Add a command for uploading releases
2019-11-10 12:18:16 +05:30
Pradyun Gedam
b94df0b570
nox: Log the correct command name in error
2019-11-10 12:18:02 +05:30
Pradyun Gedam
08a7f501e8
nox: Update interpreters available for testing
2019-11-10 11:48:34 +05:30
Pradyun Gedam
3dfa9e420f
nox: Remove pre-existing source distributions
2019-11-10 11:48:13 +05:30
Pradyun Gedam
db66b6eaf5
Add a nox command to build release artifacts
2019-11-03 14:48:18 +05:30
Pradyun Gedam
9e3e82e081
Rewrite release preparation automation
2019-11-03 14:48:11 +05:30
Pradyun Gedam
ba63e01bb6
Merge pull request #7191 from qiell/fix/update-shutil-remove-to-rmtree
...
Change method from shutil.remove to shutil.rmtree
2019-10-15 12:31:20 +05:30
Xavier Fernandez
8df9329396
Add release target
2019-10-14 14:23:00 +02:00
Akash Srivastava
c265ce1b48
(Fix Tests): Change method from shutil.remove to shutil.rmtree
...
- remove was not a member of shutil and tests were failing because of
it. To fix it, shutil.rmtree is used.
Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-10-14 12:30:43 +05:30
Pradyun Gedam
db5432bf9c
nox: Install from a source distribution
2019-10-07 15:43:00 +05:30
Pradyun Gedam
f6d690406b
nox: Log details when reusing existing common-wheels
2019-10-07 15:42:24 +05:30
Pradyun Gedam
4048daeddf
nox: Better handle execution with protected pip
2019-10-07 15:41:42 +05:30
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Pradyun Gedam
8ba9c1470d
Add a note that the nox commands are a "prototype"
2019-09-28 11:26:41 +05:30
Pradyun Gedam
20b58c33fa
Bring in useful comments from tox.ini
2019-09-28 11:26:28 +05:30
Pradyun Gedam
51dc60f8a7
Parallelize tests as much as possible, by default
2019-09-28 11:25:56 +05:30
Pradyun Gedam
2f57f91110
More accurate docstring
2019-09-27 23:30:37 +05:30
Pradyun Gedam
a9ae6deacc
Add development commands to nox
...
Why: To enable using a single tool for release management as well as
development automation.
2019-09-27 23:30:01 +05:30
Pradyun Gedam
a0044856d7
No need to create a virtualenv for generate_authors
2019-09-27 22:31:12 +05:30
Pradyun Gedam
ff53e6d7d3
Drop dedicated CI job for NEWS fragment check
...
Why: This task is now handled as a part of pre-commit's checks.
2019-09-24 18:03:23 +05:30
Chris Hunt
459c1c7e40
Validate NEWS files with rstcheck.
2019-09-16 20:52:46 -04:00
Pradyun Gedam
b33280d925
Add missing imports
2019-09-05 12:45:28 +05:30