Upgrade to release 2.2.0:
- --track-memory option now supports macOS by using psutil.
- Added --copy-env command line option that inherits all
environment variables.
- The development branch master was renamed to main. See
https://sfconservancy.org/news/2020/jun/23/gitbranchname/
for the rationale.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.8.17 and inherit dos2unix to resolve issues
due to different line endings:
- Add_dll_directory for python 3.8 on windows, as
importlib.util.find_spec does not search all paths anymore
- Add additional test vector from RFC
- Fix missing import
- Fix imp deprecation warning
- Improve build for conda forge
- Add SCRYPT_WINDOWS_LINK_LEGACY_OPENSSL environment variable,
when set, openssl 1.0.2 is linked
- Fix build for conda feedstock
- Fix typo
- Use the static libcrypto_static for windows and openssl 1.1.1
- Setup.py for windows improved, works with openssl 1.0.2 and 1.1.1
- Setup.py for windows fixed
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.2:
orm:
- Added support for the declared_attr object to work in the
context of dataclass fields.
- Fixed issue in new ORM dataclasses functionality where
dataclass fields on an abstract base or mixin that contained
column or other mapping constructs would not be mapped if they
also included a “default” key within the dataclasses.field()
object.
- Fixed regression where the Query.selectable accessor, which
is a synonym for Query.__clause_element__(), got removed, it's
now restored.
- Fixed regression where use of an unnamed SQL expression
such as a SQL function would raise a column targeting error if
the query itself were using joinedload for an entity and was
also being wrapped in a subquery by the joinedload eager
loading process.
- Fixed regression where the Query.filter_by() method would
fail to locate the correct source entity if the Query.join()
method had been used targeting an entity without any kind of
ON clause.
- Fixed regression where the SQL compilation of a Function would
not work correctly if the object had been "annotated", which is
an internal memoization process used mostly by the ORM. In
particular it could affect ORM lazy loads which make greater use
of this feature in 1.4.
- Fixed regression where the ConcreteBase would fail to map at all
when a mapped column name overlapped with the discriminator
column name, producing an assertion error. The use case here did
not function correctly in 1.3 as the polymorphic union would
produce a query that ignored the discriminator column entirely,
while emitting duplicate column warnings. As 1.4's architecture
cannot easily reproduce this essentially broken behavior of 1.3
at the select() level right now, the use case now raises an
informative error message instructing the user to use the
.ConcreteBase._concrete_discriminator_name attribute to resolve
the conflict. To assist with this configuration,
.ConcreteBase._concrete_discriminator_name may be placed on the
base class only where it will be automatically used by
subclasses; previously this was not the case.
engine:
- Restored top level import for sqlalchemy.engine.reflection. This
ensures that the base Inspector class is properly registered so
that inspect() works for third party dialects that don't
otherwise import this package.
sql:
- Fixed issue where using a func that includes dotted packagenames
would fail to be cacheable by the SQL caching system due to a
Python list of names that needed to be a tuple.
- Fixed regression in the case() construct, where the "dictionary"
form of argument specification failed to work correctly if it
were passed positionally, rather than as a "whens" keyword
argument.
mypy:
- Fixed issue in MyPy extension which crashed on detecting the
type of a Column if the type were given with a module prefix
like sa.Integer().
postgresql:
- Rename the column name used by a reflection query that used a
reserved word in some postgresql compatible databases.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 5.8.0:
- Fix: as import comments can in some cases be duplicated.
- Fix: extra newline added with float-to-top, after skip, in
some cases.
- Fix: incorrect placement of noqa comments with multiple from
imports.
- Fix: in some cases different length limits for dos based line
endings.
- Export MyPY type hints.
- Identified import statements now return runnable code.
- Added "wemake" profile.
- Parallel (-j) now defaults to number of CPU cores if no value
is provided.
- Added a safeguard against accidental usage against /.
- Provide a flag --overwrite-in-place to ensure same file handle
is used after sorting.
- Added support for extending skips with --extend-skip and
--extend-skip-glob.
- Auto identification and skipping of some invalid import
statements.
- Ability to reverse the import sorting order.
- Added ability to push star imports to the top to avoid
overriding explicitly defined imports.
- Doc: Skip doesn't support plain directory names, but skip_glob
does.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.4.1:
- Fix a regression that was causing some namespace packages with
dots in them fail to upload to PyPI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.36.1:
- back-port: add env var protection for google-c2p resolver
- Backport "Fix implicit declaration error in zlib + macOS
- xDS features doc update for case insensitive prefix/full path
matching
- Add darwin_arm64 and darwin_arm64e to c-ares config settings
- Add FileWatcher CertificateProvider
- Protect xds security code with the environment variable
"GRPC_XDS_EXPERIMENTAL_SECURITY_SUPPORT"
- Fix visibility of libprotobuf symbols in protoc_compiler.so on
Mac
- [Aio] Correct type annotation of grpc.aio.ServicerContext.abort
- Add limit concurrent RPC feature to asyncio server
- [Aio] Fix the emtpy response handling in streaming RPC
- [Backport] Implement grpc.Future interface in
SingleThreadedRendezvous
- [Backport] Make Python 2 an optional dependency for Bazel build
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.0.1:
- Fix tox -e build issue when running on Conda
- Ensure snake_case for keys in setup.cfg
- Update dependencies on configupdater and pyscaffoldext-django
- Remove broken checks for old setuptools
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.8.0:
- Add `bitarray.util.serialize()` and `bitarray.util.deserialize()`
- Allow whitespace (ignore space and `\n\r\t\v`) in input strings,
e.g. `bitarray('01 11')` or `a += '10 00'`
- Add `bitarray.util.pprint()`
- When initializing a bitarray from another with different bit
endianness, e.g. `a = bitarray('110', 'little')` and
`b = bitarray(a, 'big')`, the buffer used to be simply copied,
with consequence that `a == b` would result in `False`. This is
fixed now, that is `a == b` will always evaluate to `True`.
- Add example showing how to jsonize bitarrays
- Add tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This fixes error seen during staging phase
run.sysroot_stage_all.902827: line 182: cd: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/image/usr/share: No such file or directory
this happens because D is being altered outside pseudo's context, and
alterning D is done after do_install ends so its likely going to race as
well with subsequent functions and change pseudo context too
Fixes occasionally seen build failures on autobuilders
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
SUMMARY seems to be the preferred variable for short info on a project
supported by the recipe. Replace DESCRIPTION with SUMMARY for
python wpa-supplicant module.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The @click.argument decorator in the version of click provided by
meta-python no longer takes more than one positional argument. Add a
local patch for python3-wpa-supplicant that fixes the parsing error when
running: 'from wpa_supplicant import cli'.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-txdbus: a native Python implementation of the
DBus protocol for Twisted applications.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.26.4:
- Changed behavior of the default SSLContext when connecting to
HTTPS proxy during HTTPS requests. The default SSLContext now
sets check_hostname=True.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.25.0:
- Ensure the driver can connect when invalid peer hosts are in
system.peers
- Implement protocol v5 checksumming
- Fix the default cqlengine connection mechanism to work with
Astra
- Asyncore race condition cause logging exception on shutdown
- Update list of reserved keywords
- Drop Python 3.4 support
- Update security documentation and examples to use PROTOCOL_TLS
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Fix an issue with namespaces when one of the keys is self.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-wpa-supplicant - a package allowing to talk to
the wpa_supplicant over dbus using a convenient python API.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add release 2.1.1:
- Added setuptools as an explicit dependency. This has always been
required but now that more environments are becoming capable of
operating without it being installed, we now need to ensure it's
available.
- pytest-runner removed, use tox to run tests.
License-Update: Use license file from PyPI tarball.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.1.0:
- Added wait argument to client's connect method
- Invoke the disconnect handler when the client initiates a
disconnection
- Pass auth information sent by client to the connect handler
- Catch all possible Redis errors
- Reset message queue sleep timer upon reconnect
- Fixed bad event object used by asyncio client reconnect logic
- Adding missing example of async client implementation to
documentation
- Add scrolling to documentation sidebar
- Typo fix in documentation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.0:
- Prefer importlib.metadata for entry point handling
- Rely on importlib_metadata 3.6 for nicer entry point processing
- Eliminated dependency on Setuptools/pkg_resources and replaced
with packaging and importlib_metadata
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.7.1:
- Re-add and deprecate ``defusedxml.cElementTree``
- Use GitHub Actions instead of TravisCI
- Restore ``ElementTree`` attribute of ``xml.etree`` module
after patching
- Add support for Python 3.9
- Python 2 is deprecate. Support for Python 2 will be removed
in 0.8.0.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.0:
- Recognize tuple concatenation in __all__ export definitions
- Better support use of annotation-only assignments when using
from __future__ import annotations
- Recognize special-case typing for Annotated
- Fix undefined name __qualname__ in class scope
- Recognize special-cased typing for TypeVar
- Errors for undefined exports in __all__ are shown in a
deterministic order
- Fix false positives in certain typing constructs (TypeVar,
NamedTuple, TypedDict, cast)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.7:
- Bug fix: adjusted the recently added
EnvironmentContext.configure.include_name hook to accommodate
for additional object types such as "views" that don't have a
parent table, to support third party recipes and extensions.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.7.1:
- raise TypeError when incorrect index is used during assignment,
e.g. `a[1.5] = 1`
- raise TypeError (not IndexError) when assigning slice to
incorrect type, e.g. `a[1:4] = 1.2`
- improve some docstrings and tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.0:
- Fix physical checks (such as W191) at end of file
- Add --indent-size option (defaulting to 4)
- W605: fix escaped crlf false positive on windows
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.1:
- Add Github publish action
- Cleanup only GPIO pins used rather than all
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.4:
- Allow nearly all characters in a keyword
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.32:
- take_index causing 'move' of incorrect values due to bad
True==1 comparison
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.8:
- Update _expand to lowercase each component of the expression
- Fix _expand to reject int literals with underscores
- Remove a debug statement to make flake8 happy
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.0:
- Cookiecutter, Django and Travis extensions extracted to their
own repositories
- Support for Python 3.4 and 3.5 dropped
- Dropped deprecated requirements.txt file
- Added support for global configuration (avoid retyping common
putup's options)
- PyScaffold is no longer a build-time dependency, it just
generates the project structure
- Removed contrib subpackage, vendorized packages are now runtime
dependencies
- setuptools_scm is included by default in setup.cfg, setup.py and
pyproject.toml
- API changed to use pyscaffold.operations instead of integer
flags
- Allow string.Template and callable as file contents in project
structure
- Extract file system functions from utils.py into file_system.py
- Extract identification/naming functions from utils.py into
identification.py
- Extract action related functions from api/__init__.py to
actions.py
- helpers.{modify,ensure,reject} moved to structure.py
- helpers.{register,unregister} moved to actions.py
- New extension for automatically creating virtual environments
(--venv)
- Added instructions to use pip-tools to docs
- pre-commit extension now attempts to install hooks automatically
- A nice message is now displayed when PyScaffold finishes running
(actions.report_done)
- Removed mutually exclusive argparse groups for extensions
- Progressive type annotations adopted in the code base together
with mypy linting
- Simplified isort config
- pyproject.toml and isolated builds adopted by default
- Added comment to setup.cfg template instructing about extra links
- Generate tox.ini by default
- Replace pkg_resources with importlib.{metadata,resources} and
packaging
- Adopt PEP 420 for namespaces
- Adopt SPDX identifiers for the license field in setup.cfg
- Removed deprecated log.configure_logger
- Add links to issues and pull requests to changelog
- Add an experimental --interactive mode (inspired by git rebase -i)
- Reorganise the FAQ (including version questions previously in
Features)
- Updated setuptools and setuptools_scm dependencies to minimal
versions 46.1 and 5, respectively
- Adopted no-guess-dev version scheme from setuptools_scm
(semantically all stays the same, but non-tag commits are now
versioned LAST_TAG.post1.devN instead of LAST_TAG.post0.devN)
- Fix problem of not showing detailed log with --verbose if error
happens when loading extensions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.1:
- Adds an optional no-confirm flag particularly for use in
non-interactive setups.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>