History

v8.8.1

05 Jul 2022

Packaging refresh.

v8.8.0

22 Jan 2022

Expose pip_run.launch.inject_sitecustomize.

v8.7.2

07 Jan 2022

#56: Prevent ResourceWarning when opening pth files.

v8.7.1

02 Jan 2022

Restore missing Requires-Python metadata.

v8.7.0

01 Jan 2022

Require Python 3.7 or later.

v8.6.1

19 Nov 2021

#55: Suppressed deprecation warning in test suite.

v8.6.0

02 Oct 2021

#53: read-deps script now accepts a --separator argument accepting arbitrary separators or any of the named separators:

  • newline

  • space

  • null

v8.5.1

18 Jul 2021

Updated build to exclude ‘examples’, not intended to be installed.

v8.5.0

25 Jun 2021

Removed dependency on pkg_resources. Just importing that module mucks with sys.path and causes problems.

v8.4.3

24 Jun 2021

Refreshed package metadata.

v8.4.2

21 Feb 2021

Refreshed package metadata.

v8.4.1

29 Jan 2021

#49: Declare dependency on packaging.

v8.4.0

28 Jan 2021

#40: Remove dependency on pkg_resources.

v8.3.0

28 Jan 2021

#47: read_deps now errors on non-existent files.

v8.2.1

29 Nov 2020

#46: Fixed AttributeError in read-deps.

v8.2.0

05 May 2020

Add support for reading deps from Jupyter Notebooks.

v6.3.0

05 May 2020

Add support for reading deps from Jupyter Notebooks.

v8.1.0

01 May 2020

#43: Removed workaround for pip 4106. Project now requires pip 19.3 or later.

v6.2.0

01 May 2020

#43: Removed workaround for pip 4106. Project now requires pip 19.3 or later.

v8.0.0

24 Apr 2020

#41: Removed support for __dependency_links__ in scripts. Instead, use PEP 508 syntax. For example, to run a script requiring requests at master:

__requires__ = ['requests @ git+https://github.com/requests/requests']

v6.1.0

24 Apr 2020

  • semver deviation *

#41: Removed support for __dependency_links__ in scripts. Instead, use PEP 508 syntax.

For example, to run a script requiring requests at master:

__requires__ = ['requests @ git+https://github.com/requests/requests']

v7.0.1

08 Feb 2020

Updated readme to remove setup_requires as a targeted use-case.

v7.0.0

15 Dec 2019

Project now requries Python 3.6 or later.

v6.0.0

28 Mar 2020

#39: Removed pip_run.deps.on_sys_path, originally intended for API-use for making packages available at run time in the same process.

5.3

12 Nov 2018

#36: Instead of soliciting the environment variable, the workaround for pip #4106 is now automatically applied, but only when it is needed.

5.2

12 Nov 2018

#36: Allow bypass of workaround for pip #4106 by setting PIP_RUN_NO_PATCH_PREFIX.

5.1

06 Nov 2018

  • Updated documentation.

5.0

05 Nov 2018

#34: Renamed project from rwt to pip-run.

4.4.3

08 Feb 2020

Update README to reflect project rename.

4.4.2

14 Oct 2018

#32: Fix regression in the 4.2 release where rwt sometimes fails to install some local packages.

4.4.1

24 Sep 2018

Fixed issue with file encoding declaration in future f-string handling.

4.4

24 Sep 2018

#30: Support reading deps from scripts with f-strings on older Pythons.

4.3

24 Sep 2018

#29: Unconditionally honor .pth files in installed packages.

4.2

24 Sep 2018

#28: Avoid error when arguments to pip install existed but did not indicate any packages to install.

4.1

05 Jul 2018

Added support for Jython by using JYTHONPATH instead of PYTHONPATH when on Jython.

4.0.1

05 Jul 2018

Use io.open in scripts reader for better Jython compatibility. See Jython 2696 for more info.

4.0

16 May 2018

Dropped support for injecting modules to sys.path when Setuptools is older than 19.6.2 (presumed unused).

Package now uses Setuptools declarative config and thus will not install from sdist without Setuptools 30.3 or later.

3.3

10 Apr 2018

Added support for pip 10, including addressing #25. As a side benefit, warnings are no longer issued when no requirements are supplied.

3.2

02 Feb 2018

Added rwt.read-deps command.

3.1

17 Nov 2017

#24: Add support for __dependency_links__.

#23: Fix test failures on Windows.

3.0

24 Jul 2017

Minor incompatibilty - DepsReader.read no longer accepts a var_name parameter.

#19: DepsReader.read and DepsReader.try_read now return a scripts.Dependencies instance, which always has an index_url attribute whose value will reflect the value of __index_url__ from the script (if present) or None otherwise.

#19: For standalone scripts, if __index_url__ is indicated, it will be used to resolve dependencies.

2.16

24 Jul 2017

#18: More fully support __requires__ syntax as supported by pkg_resources. This change had the unintended side-effect of disallowing full dependency links (URLs) in __requires__. See #22 for details.

Updated package from skeleton.

2.15.1

11 Apr 2017

Issue #15: Fixed issue where rwt would crash in environments where pip’s vendored dependencies (namely pkg_resources) were unbundled.

2.15

28 Mar 2017

Issue #14: Added workaround for pip #4106 such that rwt now runs on Homebrew Python and other environments where a distutils prefix is defined.

2.14

27 Feb 2017

Added support for excluding already installed packages, but only when requirements are not specified in a requirements.txt file. Inspired by conversations at HackIllinois and Issue #13.

2.13

12 Oct 2016

Issue #10: When launching the target subprocess, pass through the exit code.

Now renders normal output from pip install.

2.12

18 Sep 2016

Allow args to rwt.run function to be passed directly.

2.11

16 Sep 2016

Issue #1: Inject a sitecustomize into the install path to work around the lack of -nspkg.pth execution. Skip the execution on Python 3.3 and later, as it will degrade the behavior in those environments as indicated in #5.

2.10

16 Sep 2016

Issue #9: Intercept the --help argument if specified rather than passing that to pip install.

2.9

16 Sep 2016

Issue #8: Add a console entrypoint, so one can invoke simply rwt.

2.8

31 Aug 2016

Issue #7: Extract entries from .pth files in the temporary install folder and include those values in PYTHONPATH when launching the subprocess.

2.7.1

08 Aug 2016

Issue #6: Only augment but don’t replace PYTHONPATH.

2.7

06 Aug 2016

Issue #4: No longer use execve because it will suppress the cleanup code after the child exits. Instead, trap the interrupt in the parent process and suppress it.

2.6

05 Aug 2016

Issue #3: rwt now relies on execve to overlay the child process over the current one.

2.5

21 Jul 2016

Allow dependencies to be declared in the file in the parameters to the Python interpreter, even if other parameters are supplied. Allows for invocation like:

rwt -- -i myscript.py

2.4.2

23 Mar 2016

Fixed issue in __requires__ parsing when script contained attribute assignment.

2.4.1

23 Mar 2016

Restored simple python launch process.

2.4

13 Feb 2016

Added support for resolving dependencies declared in __requires__ in the script.

2.3

01 Feb 2016

New technique uses PYTHONPATH and subprocess to launch any arbitrary Python process.

2.2

01 Feb 2016

Add support for entry points on older versions of setuptools.

2.1

31 Jan 2016

Add support for pkg_resources entry points in added modules.

2.0

26 Jan 2016

python -m rwt now has a new signature, requiring a full list of args to pip install and a separate script to execute, separated by “–“.

1.0

24 Jan 2016

Initial implementation. Basic dependency context for running a script.