Minor code refactoring of the recipe and upgrade to release 1.3.3:
- Classes can be used as constraint for the type rule
- The abstract base classes of the standard library's
collections.abc module are available as named types for the
type rule
- Generic type aliases from the :mod:`typing` module can be used
as constraints for the type rule, including parametrized ones
a.k.a. compound types
- Support for Python 3.5 is removed.
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>
What's New in astroid 2.5.3?
============================
Release Date: 2021-04-10
* Takes into account the fact that subscript inferring for a ClassDef may involve __class_getitem__ method
* Reworks the `collections` and `typing` brain so that `pylint`s acceptance tests are fine.
ClosesPyCQA/pylint#4206
* Use ``inference_tip`` for ``typing.TypedDict`` brain.
* Fix mro for classes that inherit from typing.Generic
* Add inference tip for typing.Generic and typing.Annotated with ``__class_getitem__``
ClosesPyCQA/pylint#2822
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.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. It is the first bug fix release in the
Robot Framework 4.0.x series. It fixes several severe and not so
severe issues reported since Robot Framework 4.0 was released.
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 2.1.3:
- Address issue where a test server may return an HTTP error
during upload or download
- Address issue where ignore_ids may be empty or have empty values
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.0.6:
- The decorator module was not copying the module attribute anymore
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.0.11:
- fix bug: bad case:0 6 30 3 *
- Add support for L in the day_of_week component. This enable
expressions like * * * * L4, which means last Thursday of the
month.
- Create CroniterUnsupportedSyntaxError exception for situations
where CRON syntax may be valid but some combinations of features
is not supported. Currently, this is used when the day_of_week
component has a combination of literal values and nth/last
syntax at the same time.
For example, 0 0 * * 1,L6 or 0 0 * * 15,sat#1 will both raise
this exception because of mixing literal days of the week with
nth-weekday or last-weekday syntax. This may impact existing
cron expressions in prior releases, because 0 0 * * 15,sat#1
was previously allowed but incorrectly handled.
- Update croniter_range() to allow an alternate croniter class to
be used. Helpful when using a custom class derived from croniter.
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.17.4:
- prevent (empty) comments from throwing assertion error
- fix for issue 382 caused by an error in a format string
- allow expansion of aliases by setting
``yaml.composer.return_alias = lambda s: copy.deepcopy(s)``
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.6.0:
- XML data bindings and code generators are now considered stable
- Add arguments 'max_depth' and 'extra_validator' to validation
methods
- Enhance decoding with 'value_hook' argument
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.60.0:
- add contrib.logging helpers for redirecting to tqdm.write()
- support delay in notebook
- fix contrib.tmap, tzip not using tqdm_class
- add notebook tests
- updates & misc minor fixes for documentation
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.2:
- Automatic AppConfig discovery
- Customizing type of auto-created primary keys
- Functional indexes
- pymemcache support
- New decorators for the admin site
- Other minor new features
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.6:
orm:
- Fixed regression where a deprecated form of Query.join() were
used, passing a series of entities to join from without any ON
clause in a single Query.join() call, would fail to function
correctly.
- Fixed critical regression where the Query.yield_per() method in
the ORM would set up the internal Result to yield chunks at a
time, however made use of the new Result.unique() method which
uniques across the entire result.
sql:
- Fixed further regressions in the same area as that of #6173
released in 1.4.5, where a “postcompile” parameter, again most
typically those used for LIMIT/OFFSET rendering in Oracle and
SQL Server, would fail to be processed correctly if the same
parameter rendered in multiple places in the statement.
- Executing a Subquery using Connection.execute() is deprecated
and will emit a deprecation warning; this use case was an
oversight that should have been removed from 1.4.
schema:
- The Table object now raises an informative error message if it
is instantiated without passing at least the Table.name and
Table.metadata arguments positionally. Previously, if these were
passed as keyword arguments, the object would silently fail to
initialize correctly.
mypy:
- Applied a series of refactorings and fixes to accommodate for
Mypy "incremental" mode across multiple files, which previously
was not taken into account. In this mode the Mypy plugin has to
accommodate Python datatypes expressed in other files coming in
with less information than they have on a direct run.
- Fixed issue where the Mypy plugin would fail to interpret the
"collection_class" of a relationship if it were a callable and
not a class. Also improved type matching and error reporting for
collection-oriented relationships.
asyncio:
- Added accessors .sqlstate and synonym .pgcode to the .orig
attribute of the SQLAlchemy exception class raised by the
asyncpg DBAPI adapter, that is, the intermediary exception
object that wraps on top of that raised by the asyncpg
library itself, but below the level of the SQLAlchemy dialect.
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.8:
- AsyncMachine does not remove models when remove_models is called
- Introduce try/except for finalize callbacks in Machine and
HierachicalMachine. Thus, errors occurring in finalize callbacks
will be suppressed and only the original error will be raised.
- Show references in graphs and markup. Introduce
MarkupMachine.format_references to tweak reference formatting
- Introduce Machine.on_exception to handle raised exceptions in
callbacks
- Machine.get_triggers now supports State and Enum as arguments
- NestedState and HierachicalMachine.add_states now accept (lists
of) states and enums as initial parameter
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.0.5:
- Dropped support for Python < 3.5 with a substantial
simplification of the code base (now building a decorator does
not require calling "exec").
- Added a way to mimic functools.wraps-generated decorators.
- Ported the Continuous Integration from Travis to GitHub.
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.5:
orm:
- Fixed regression where the joinedload() loader strategy would
not successfully joinedload to a mapper that is mapper against
a CTE construct.
- Scaled back the warning message added in #5171 to not warn for
overlapping columns in an inheritance scenario where a
particular relationship is local to a subclass and therefore
does not represent an overlap.
sql:
- Fixed bug in new FunctionElement.render_derived() feature where
column names rendered out explicitly in the alias SQL would not
have proper quoting applied for case sensitive names and other
non-alphanumeric names.
- Fixed regression where use of the Operators.in_() method with a
Select object against a non-table-bound column would produce an
AttributeError, or more generally using a ScalarSelect that has
no datatype in a binary expression would produce invalid state.
- Added a new flag to the Dialect class called
Dialect.supports_statement_cache. This flag now needs to be
present directly on a dialect class in order for SQLAlchemy's
query cache to take effect for that dialect. The rationale is
based on discovered issues such as #6173 revealing that dialects
which hardcode literal values from the compiled statement, often
the numerical parameters used for LIMIT / OFFSET, will not be
compatible with caching until these dialects are revised to use
the parameters present in the statement only. For third party
dialects where this flag is not applied, the SQL logging will
show the message "dialect does not support caching", indicating
the dialect should seek to apply this flag once they have
verified that no per-statement literal values are being rendered
iwithin the compilation phase.
schema:
- Introduce a new parameter Enum.omit_aliases in Enum type allow
filtering aliases when using a pep435 Enum. Previous versions of
SQLAlchemy kept aliases in all cases, creating database enum
type with additional states, meaning that they were treated as
different values in the db. For backward compatibility this flag
defaults to False in the 1.4 series, but will be switched to
True in a future version. A deprecation warning is raise if this
iflag is not specified and the passed enum contains aliases.
mypy:
- Fixed issue in mypy plugin where newly added support for
as_declarative() needed to more fully add the DeclarativeMeta
class to the mypy interpreter’s state so that it does not
result in a name not found error; additionally improves how
global names are setup for the plugin including the Mapped name.
asyncio:
- Fixed issue where the asyncio extension could not be loaded if
running Python 3.6 with the backport library of contextvars
installed.
postgresql:
- Fixed regression where the PostgreSQL cast operator applied to
elements within an ARRAY when using psycopg2 would fail to use
the correct type in the case that the datatype were also
embedded within an instance of the Variant adapter.
- Fixed typo in the fix released in 1.4.4 that completely
prevented this change from working correctly, i.e. the error
message did not match what was actually emitted by pg8000.
- Fixed issue where the PostgreSQL PGInspector, when generated
against an Engine, would fail for .get_enums(),
.get_view_names(), .get_foreign_table_names() and
.get_table_oid() when used against a "future" style engine
and not the connection directly.
mysql:
- Fixed regression in the MySQL dialect where the reflection query
used to detect if a table exists would fail on very old MySQL
5.0 and 5.1 versions.
mssql:
- Fixed a regression in MSSQL 2012+ that prevented the order by
clause to be rendered when offset=0 is used in a subquery.
oracle:
- Fixed critical regression where the Oracle compiler would not
maintain the correct parameter values in the LIMIT/OFFSET for a
select due to a caching issue.
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 2021.4.4 with the following bug fixes:
- regex fails with a quantified backreference but succeeds with
repeated backref
- API is not a drop-in replacement for python's re when it comes
to typing
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.17:
- Installing with setup.py now requires setuptools. Alternatively,
install with pip.
- The generic command line front end tool docutils-cli.py allows
the free selection of reader, parser, and writer components.
- New, experimental wrapper to integrate the recommonmark Markdown
parser for use with Docutils.
- pseudoxml-writer got a --detailled option for pretty printing
text nodes.
- odf/odt-writer improved metadata handling.
- HTML5 writer improvements.
- LaTeX writer improvements.
- Fixes in Arabic mappings and Korean translations.
- directives: Prevent infinte inclusion loops.
License-Update: Fix link to 2-Clause BSD license in COPYING.txt.
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 2.5.1:
- pagerank uses scipy by default now
- New source argument to has_eulerian_path to look for path
starting at source
- prefix_tree now uses a non-recursive algorithm. The original
recursive algorithm is still available via prefix_tree_recursive
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.7.4.post0:
- Bumped upper bound of the chardet runtime dependency to allow
their v4.0 version stream.
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 8.2.0:
- Added getxmp() method
- Add ImageShow support for GraphicsMagick
- Do not load transparent pixels from subsequent GIF frames
- Use LZW encoding when saving GIF images
- Set all transparent colors to be equal in quantize()
- Allow PixelAccess to use Python __int__ when parsing x and y
- Removed Image._MODEINFO
- Add preserve_tone option to autocontrast
- Fixed linear_gradient and radial_gradient I and F modes
- Add support for reading TIFFs with PlanarConfiguration=2
- Deprecated categories
- Do not premultiply alpha when resizing with Image.NEAREST
resampling
- Dynamically link FriBiDi instead of Raqm
- Allow fewer PNG palette entries than the bit depth maximum when
saving
- Use duration from info dictionary when saving WebP
- Stop flattening EXIF IFD into getexif()
- Replaced tiff_deflate with tiff_adobe_deflate compression when
saving TIFF images
- Save ICC profile from TIFF encoderinfo
- Moved RGB fix inside ImageQt class
- Allow alpha_composite destination to be negative
- Ensure file is closed if it is opened by ImageQt.ImageQt
- Added ImageDraw rounded_rectangle method
- Added IPythonViewer
- Only draw each rectangle outline pixel once
- Use mmap instead of built-in Win32 mapper
- Handle PCX images with an odd stride
- Only read different sizes for "Large Thumbnail" MPO frames
- Added PyQt6 support
- Changed Image.open formats parameter to be case-insensitive
- Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02)
- Added tk version to pilinfo
- Support for ignoring tests when running valgrind
- OSS-Fuzz support
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.0.1:
- Dropped support for Python < 3.5 with a substantial
simplification of the code base. Ported CI from Travis to
GitHub.
- Fixed setup.cfg and python_requires in setup.py
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 2.12.0:
- Added @typeguard_ignore decorator to exclude specific functions
and classes from runtime type checking
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 2.4.141:
- Use get_uuid_or_id_from_abstract_misp in tag methods
- Skip nameless sections in ELF
- Make reportlab tests optional if missing dep
- Enable taxonomy failed if global pythonify is on
- Properly pass content-type
- Re-enable support for uploading STIX 1 documents
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.3.8:
- Added ability to add accessibility options "description" and
"decorative" to images via :func:`insert_image`.
- Added fix for datetime.timedelta values that exceed the Excel
1900 leap day (timedeltas greater than 59 days, in hours).
This is a backward incompatible change.
- Added the worksheet :func:`read_only_recommended` method to set
the Excel "Read-only Recommended" option that is available when
saving a file.
- Fixed issue where temp files used in `constant_memory` mode
weren't closed/deleted if the workbook object was garbage
collected.
- Fixed issue where pattern formats without colors were given a
default black fill color.
- Added option to set a chart crossing to 'min' as well as the
existing 'max' option. The 'min' option isn't available in the
Excel interface but can be enabled via VBA.
License-Update: Updated copyright year.
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 2.1.0:
- Add status_code property on http error handling
- Change default of static_discovery when discoveryServiceUrl set
- Correct api version in oauth-installed.md
- fix .close()
- Resolve issue where num_retries would have no effect
- Distinguish between public/private docs in 2.0 guide
- Update README to promote cloud client libraries
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.2.6.post1:
- Improvement and refactoring in CI and tests with ``tox``.
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.2.1:
- Added support to use the HDF5 ROS3 driver to access HDF5 files
on S3
- Setting the config option default_file_mode to values other than
'r' is deprecated. Pass the desired mode when opening a
:class:`~.File` instead.
- :exc:`OSError` exceptions raised by h5py should now have a useful
.errno attribute, where HDF5 provides this information.
Subclasses such as :exc:`FileNotFoundError` should also be raised
where appropriate.
- Fix reading data with a datatype of variable-length arrays of
fixed length strings.
- Fix :meth:`.Dataset.read_direct` and :meth:`.Dataset.write_direct`
when the source and destination have different shapes.
- Fix selecting data using integer indices in
:meth:`.Dataset.read_direct` and :meth:`.Dataset.write_direct`.
- Fix exception handling in :meth:`.Group.visititems`.
- Issue a warning when File(..., swmr=True) is specified with any
mode other than 'r', as the SWMR option is ignored in these cases.
- Fix NumPy 1.20 deprecation warnings concerning the use of None as
shape, and the deprecated aliases np.float, np.int and np.bool.
- Fix :attr:`.File.driver` when the read-only S3 driver is
available.
Add hdf5-native as a dependency to avoid:
error: libhdf5.so: cannot open shared object file: No such file or directory
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 relase 3.4.1:
- fix errorbar when specifying fillstyle
- fix Inkscape cleanup at exit on Windows for tests
- fix legends of colour-mapped scatter plots
- fix positioning of annotation fancy arrows
- fix size and color rendering for 3D scatter plots
- fix suptitle manual positioning when using constrained layout
- respect antialiasing settings in cairo backends as well
License-Update: Adjust setup.py line for to check the license.
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.2:
- Various small bugfixes
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.19.1:
- auth header parsing performance optimizations
- Use mock from the standard library on Python>=3.3
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.2:
- fix crash caused by unsupported types in binary operations
- speedup initializing or extending a bitarray from another with
different bit endianness
- add formatting options to `bitarray.util.pprint()`
- add documentation on bitarray representations
- add and improve tests (all 291 tests run in less than half a
second on a modern machine)
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.4:
orm:
- Fixed critical issue in the new PropComparator.and_() feature
where loader strategies that emit secondary SELECT statements
such as selectinload() and lazyload() would fail to accommodate
for bound parameters in the user-defined criteria in terms of
the current statement being executed, as opposed to the cached
statement, causing stale bound values to be used.
- Fixed missing method Session.get() from the ScopedSession
interface.
engine:
- Modified the context manager used by Transaction so that an
"already detached" warning is not emitted by the ending of the
context manager itself, if the transaction were already manually
rolled back inside the block. This applies to regular
transactions, savepoint transactions, and legacy "marker"
transactions. A warning is still emitted if the .rollback()
method is called explicitly more than once.
- Repair wrong arguments to exception handling method in
CursorResult.
postgresql:
- Fixed issue in PostgreSQL reflection where a column expressing
"NOT NULL" will supersede the nullability of a corresponding
domain.
- Modified the is_disconnect() handler for the pg8000 dialect,
which now accommodates for a new InterfaceError emitted by
pg8000 1.19.0.
misc:
- Adjusted the usage of the importlib_metadata library for loading
setuptools entrypoints in order to accommodate for some
deprecation changes.
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.0.7:
- Problems with zero time values
- Not possible to correctly convert excel dates to timedelta
- Exception raised when merging cells which do not have borders
all the way round.
- Python 2 print statement in the tutorial
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 7.22.0:
- Fix some sys.excepthook shenanigan when embedding with qt,
recommended if you – for example – use napari
- Fix bug when using the new ipdb %context magic
- Couples of deprecation cleanup
- Update for new dpast.com api if you use the %pastbin magic
- Remove support for numpy before 1.16
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.12.4:
- Revert use of deque instead of list for tracking throttling
.history. Due to incompatibility with DjangoRedis cache backend.
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 20.1.0:
- document WEB_CONCURRENCY is set by, at least, Heroku
- capture peername from accept: Avoid calls to getpeername by
capturing the peer name returned by accept
- log a warning when a worker was terminated due to a signal
- fix tornado usage with latest versions of Django
- add support for python -m gunicorn
- fix systemd socket activation example
- allows to set wsgi application in configg file using wsgi_app
- document --timeout = 0
- always close a connection when the number of requests exceeds
the max requests
- Disable keepalive during graceful shutdown
- kill tasks in the gthread workers during upgrade
- fix latency in gevent worker when accepting new requests
- fix file watcher: handle errors when new worker reboot and ensure
the list of files is kept
- document the default name and path of the configuration file
- document how variable impact configuration
- document the $PORT environment variable
- added milliseconds option to request_time in access_log
- added PIP requirements to be used for example
- remove version from the Server header
- fix sendfile: use socket.sendfile instead of os.sendfile
- reloader: use absolute path to prevent empty to prevent0
InotifyError when a file is added to the working directory
- Add --print-config option to print the resolved settings at
startup.
- remove the --log-dict-config CLI flag because it never had a
working format (the logconfig_dict setting in configuration
files continues to work)
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.5:
- coverage combine has a new option, --keep to keep the original
data files after combining them. The default is still to delete
the files after they have been combined.
- When reporting missing branches in coverage report, branches
aren't reported that jump to missing lines. This adds to the
long-standing behavior of not reporting branches from missing
lines. Now branches are only reported if both the source and
destination lines are executed.
- Minor improvements to the HTML report:
The state of the line visibility selector buttons is saved in
local storage so you don't have to fiddle with them so often.
It has a little more room for line numbers so that 4-digit
numbers work well.
- Improved the error message when combining line and branch data,
so that users will be more likely to understand what's happening.
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.5.15:
- ndb: don't mess with SQL adapters unless really needed
- ndb: support more virtual interface types
- ndb: support in for views and record sets
- ndb: fix nested fetches from DB
- tests: start migration to pytest
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 2.5.2:
- Detects `import numpy` as a valid `numpy` import.
- Iterate over ``Keywords`` when using ``ClassDef.get_children``
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.0.10:
- Remove external library natsort. Sorting of cron expression
components now handled with sorted() with a custom key function.
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.5.3:
- Remove unnecessary bindings with schema proxy from
ElementPathMixin to avoid conflicts when schema is used by an
XPath 3 parser
- Fix schema logger
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.3:
orm:
- Fixed a bug where python 2.7.5 (default on CentOS 7) wasn't able
to import sqlalchemy, because on this version of Python exec
"statement" and exec("statement") do not behave the same way.
The compatibility exec_() function was used instead.
- Fixed bug where ORM queries using a correlated subquery in
conjunction with column_property() would fail to correlate
correctly to an enclosing subquery or to a CTE when
Select.correlate_except() were used in the property to control
correlation, in cases where the subquery contained the same
selectables as ones within the correlated subquery that were
intended to not be correlated.
- Fixed bug where combinations of the new "relationship with
criteria" feature could fail in conjunction with features that
make use of the new “lambda SQL” feature, including loader
strategies such as selectinload and lazyload, for more
complicated scenarios such as polymorphic loading.
- Repaired support so that the ClauseElement.params() method can
work correctly with a Select object that includes joins across
ORM relationship structures, which is a new feature in 1.4.
- Fixed issue where a "removed in 2.0" warning were generated
internally by the relationship loader mechanics.
orm declarative:
- Fixed regression where the .metadata attribute on a per class
level would not be honored, breaking the use case of
per-class-hierarchy MetaData for abstract declarative classes
and mixins.
engine:
- Restored the ResultProxy name back to the sqlalchemy.engine
namespace. This name refers to the LegacyCursorResult object.
mypy:
- Added support for the Mypy extension to correctly interpret a
declarative base class that’s generated using the as_declarative()
function as well as the registry.as_declarative_base() method.
postgresql:
- Fixed reflection of identity columns in tables with mixed case
names in PostgreSQL.
sqlite:
- Added support for the aiosqlite database driver for use with the
SQLAlchemy asyncio extension.
- Repaired the pysqlcipher dialect to connect correctly which had
regressed in 1.4, and added test + CI support to maintain the
driver in working condition. The dialect now imports the
sqlcipher3 module for Python 3 by default before falling back to
pysqlcipher3 which is documented as now being unmaintained.
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.1:
- moved implementation of and `hex2ba()` and `ba2hex()` to C-level
- add `bitarray.util.parity()`
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.17.0:
- this release no longer supports Python 2.7, most if not all
Python 2 specific code is removed. The 0.17.x series is the
last to support Python 3.5 (this also allowed for removal of
the dependency on ``ruamel.std.pathlib``)
- remove Python2 specific code branches and adaptations (u-strings)
- prepare % code for f-strings using ``_F``
- allow PyOxidisation
- replaced Python 2 compatible enforcement of keyword arguments
with '*'
- the old top level *functions* ``load``, ``safe_load``,
``round_trip_load``, ``dump``, ``safe_dump``,
``round_trip_dump``, ``scan``, ``parse``, ``compose``, ``emit``,
``serialize`` as well as their ``_all`` variants for
multi-document streams, now issue a ``PendingDeprecationning``
(e.g. when run from pytest, but also Python is started with
``-Wd``). Use the methods on ``YAML()``, which have been extended.
- fix for issue 376: indentation changes could put literal/folded
scalar to start before the ``#`` column of a following comment.
Effectively making the comment part of the scalar in the output.
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>
Add a recipe for python3-docutils: a modular system for processing
documentation into useful formats.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.12.3:
- Properly handle ATOMIC_REQUESTS when multiple database
configurations are used.
- Bypass COUNT query when LimitOffsetPagination is configured but
pagination params are not included on the request.
- Respect allow_null=True on DecimalField.
- Allow title cased "Yes"/"No" values with BooleanField.
- Add PageNumberPagination.get_page_number() method for overriding
behavior.
- Fixed rendering of timedelta values in OpenAPI schemas, when
present as default, min, or max fields.
- Render JSONFields with indentation in browsable API forms.
- Remove unnecessary database query in admin Token views.
- Raise validation errors when bools are passed to
PrimaryKeyRelatedField fields, instead of casting to ints.
- Don't include model properties as automatically generated
ordering fields with OrderingFilter.
- Use deque instead of list for tracking throttling .history.
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.1.7:
- Fixed a regression in Django 3.1 that caused RuntimeError
instead of connection errors when using only the 'postgres'
database
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.17:
- Add the Wh unit for battery capacity measurements
- Fix issue with reducable dimensionless units when using power
(Quantity**ndarray)
- Fix comparisons between Quantities and Measurements.
- UnitsContainer returns false if other is str and cannnot be
parsed
- Fix numpy.linalg.solve unit output.
- Support numpy.lib.stride_tricks.sliding_window_view.
- NEP29 Support docs.
- Move all tests to pytest.
- Fix to __pow__ and __ipow__
- Migrate to Github Actions.
- Update linter to use pre-commit.
- Quantity comparisons now ensure other is Quantity.
- Add sign function compatibility.
- Fix scalar to ndarray tolist.
- Fix tolist function with scalar ndarray.
- Corrected typos and dacstrings
- Implements a first benchmark suite in airspeed velocity (asv).
- Power for pseudo-dimensionless units.
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.5.8:
- Fixed regression caused by SQLAlchemy 1.4 where the "alembic
current" command would fail due to changes in the URL object.
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 2.2.1:
- Add function signatures at token registration
- Some fixes to XPath tokens and more XPath 3.0 implementations
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 2021.3.24:
- Switched project to a src layout.
- Switched project to a declarative setuptools approach
- Added support to check if a helper has been registered
License-Update: Fix year in the license file
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.1.29:
- setup.py: specify a version range for pyparsing
- Don't warn if prefs file doesn't exist
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>
Add a recipe for jmespath: a python module implementing a query
language for JSON.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.0:
- Added support for async special methods (__aiter__, __anext__,
__await__, __aenter__, __aexit__). These are used in the async
for, await` and ``async with statements.
- Added the __resolved__ property. You can use it to check if the
factory has been called.
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 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>
Upgrade to release 2.0.0:
- Fix a crash on startup when listening to multiple interfaces.
- Waitress no longer attempts to guess at what the server_name
should be for a listen socket, instead it always use a new
adjustment/argument named server_name.
- Allow tasks to notice if the client disconnected.
- Drop Python 2.7 and 3.5 support
- The server now issues warning output when it there are enough
open connections (controlled by "connection_limit"), that it is
no longer accepting new connections. This situation was
previously difficult to diagnose.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 21.3.0:
- The output of incremental is now compatible with Black
- Incremental now properly supports PEP 440-compliant dev, rc,
post suffixes
- Incremental now properly supports PEP 440-compliant post
releases
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 9.1.1:
- BREAKING CHANGE: Update discovery to support a list of known
hosts
- Add HostBrowser.update_hosts
- Handle audio groups removed from known host
- Bump pylint from 2.7.1 to 2.7.2
- Remove useless pylint and flake8 directives
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 SIGNAL_INTERRUPTED to signal when a task is interrupted when
a consumer exits abruptly.
- Use the Huey.create_consumer() API within the Django management
command, to allow Django users to customize the creation of the
Consumer instance.
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.1.0:
- Support formatting options in get_json_string()
- Replace setuptools/pkg_resources with importlib.metadata for
getting version
- Docs: Add documentation for align, max_width, etc.
- Docs: Remove reference to Python 2.x print statement in README
- Docs: Update get_html_string with thead and tbody tags
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.16.13:
- fix: could not update() CommentedMap with keyword arguments
- fix: unable to dump mutated TimeStamp objects
- fix: unable to addd comment without starting space
- fix: recursive call to walk_tree not preserving all params
- a None value in a flow-style sequence is now dumped as `null`
instead of `!!null ''`
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>
The current recipe for pystemd doesn't specify its runtime dependencies.
This fixes it by adding xml and pprint modules to RDEPENDS.
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>
Change idna required version to use python3-idna recipe that currently
is on version 3.1.
Without this change python-request doesn't work as the idna version
doesn't match the required versions. When bump python-request recipe,
verify if the upstream project bumped the idna version and drop this
patch.
As this recipe was tested with python3-idna_3.1 don't allow higher
versions.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>