Tangled

Latest version: v1.0a12

Safety actively analyzes 613666 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.0a13

===================

- No changes yet

1.0a12

===================

- Replaced `tangled test` script with RunCommands equivalent.
- Added `--upgrade` flag to `install` command.
- Removed `--upload` option from `tangled release` script; I'm not sure why,
but this was creating borked distributions.
- Reimplemented all make targets as RunCommands commands; only `init` remains
as a wrapper around `run init`.
- Removed remaining vestiges of Buildout :(

1.0a11

===================

Release of 1.0a10 to PyPI was borked. This fixes that.

1.0a10

===================

- Added abilitiy for properties created via the `cached_property` decorator to
specify their dependencies.
- Made `cached_property` thread safe (or at least made an initial attempt at
that). Inspired by by https://github.com/pydanny/cached-property.
- Made `util.random_string()` use the Base 64 alphabet by default instead of
grabbing 16 bytes via `os.urandom()` and encoding them as a 32-byte hex
string.

0.1a9

==================

- Remove custom `find_packages` function in favor of setuptools'
`PEP420PackageFinder`
- Add `as_self` converter; use it as the default converter (i.e., return it
when `None` is passed to `get_converter`)
- Add `as_func_args` and `as_meth_args` converters; these are similar to
`as_args` but automatically figure out which converters to use for a function
or method and return a single dict of all args (instead of positionals and
keyword args seperately)
- Add `util.is_asset_path()` for more robust, centralized checking of whether
a string looks like an asset path
- When loading settings from a file, add `__dir__` to the settings instead of
`__here__` as the former seems more obvious (i.e., the directory containing
the settings file)
- When a settings file extends another settings file and the path to the
extended file is a relative path (i.e., when the `extends` setting is
relative, typically just a file name), assume that the path is relative to
`__dir__`; previously, CWD was used implicitly
- Use extended (Buildout-style) interpolation by default when reading settings
files; the extended interpolation syntax is nicer to work with and more
flexible than basic interpolation

0.1a8

==================

- Consolidated `cached_property` and `reify` decorators; removed `reify`.
- Added a find_packages() function that is similar to setuptools'
find_packages(). This version does the "right thing" with regard to PEP 420
namespace packages--i.e., it treats *every* directory as a package. The
quotes around "right thing" indicate that it's debatable as to whether this
is correct in the general case.
- util.fully_qualified_name() can now accept a module as an argument; before,
it would blow up if a module was passed in.
- Implemented a "deferred decorator action" system that is similar to Venusian
but much simpler. Venusian uses all kinds of frame inspection/modification
hackery that is really hard to understand.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.