Apyfal

Latest version: v1.2.7

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

Scan your dependencies

Page 1 of 2

1.2.7

---------------

Deprecations:

- Deprecate OVH support (OVH stopped FPGA support).
- Warn about Python 3.4 pending deprecation.
- Remove links to the deprecated AccelStore (Move to the
Accelize distribution platform)

1.2.6

---------------

Improvements:

- ``Apyfal.aws.AWSHost``: Fix error with non existing EBS section in block
devices.

1.2.5

---------------

Improvements:

- ``Apyfal.aws.AWSHost`` now enable ``DeleteOnTermination`` on all instance
block devices by default. This behavior can be disabled and reset to AWS
default using the ``delete_volumes_on_termination=False`` argument.

1.2.4

---------------

Improvements:

- ``Apyfal.host.Host`` now checks instance boot using port 22 instead of 80.
- ``Apyfal.host.Host`` can now be used to start a custom instance instead of an
predefined accelerator instance more easily.

1.2.3

---------------

Backward incompatible changes:

- The ``info_dict`` argument behavior was changed. Previously, using it changed
the returned result of methods. To avoid this, ``info_dict`` now waits a
``dict`` to populate with extra information. This argument is mainly intended
to get debug or profiling information.

Previous behavior:

.. code-block:: python

This return only the processing result
my_accel.process(dst='data.dat')

This return a tuple containing the processing result and the
information dict.
my_accel.process(dst='data.dat', info_dict=True)

New behavior:

.. code-block:: python

This return only the processing result
my_accel.process(dst='data.dat')

This still return only the processing result.
Information are now stored in the "info" dict.
info = dict()
my_accel.process(dst='data.dat', info_dict=info)

- The ``info_dict`` argument from ``AcceleratorPoolExecutor.start``,
``AcceleratorPoolExecutor.stop``, ``AcceleratorPoolExecutor.process_map`` and
``Accelerator.process_map`` methods is replaced by ``info_list`` and wait a
``list`` to populate instead of a ``dict``.

1.2.2

---------------

Fixes:

- Improve ``stop`` behavior depending if run by user or by garbage collector or
``with`` exit.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.