Libres

Latest version: v0.7.3

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

Scan your dependencies

Page 1 of 5

0.7.3

~~~~~~~~~~~~~~~~~~~

- Adds support for Python 3.12.
[Daverball]

0.7.2

~~~~~~~~~~~~~~~~~~~

- Fixes another incorrect type annotation in `Scheduler`.
[Daverball]

0.7.1

~~~~~~~~~~~~~~~~~~~

- Fixes some incorrect type annotations in `Scheduler`.
[Daverball]

0.7.0

~~~~~~~~~~~~~~~~~~~

- Drops support for Python 3.7 and adds support for 3.11
[Daverball]

- Switches to ``pyproject.toml``
[Daverball]

- Adds type annotations
[Daverball]

- Changes ``Scheduler.allocate`` to avoid hundreds of separate
SQL queries when passing in hundreds of datetime ranges in
order to identify existing overlapping allocations.

Performance could still be a concern, since the query contains
a lot of datetime comparisons. It might be quicker in the common case to filter to the minimum and maximum dates that
have been passed in and doing the overlap checks entirely in
Python. We will need to keep an eye on this.
[Daverball]

0.6.1

~~~~~~~~~~~~~~~~~~~

- Adds additional parameters to ``Scheduler.remove_unused allocations``
to filter the to be removed Allocations by weekday or
whether or not they belong to a group.
[Daverball]

- Fixes bug in ``Scheduler.search_allocations``. It did not
align the days parameter properly to the timezone of the
Allocation/Scheduler.
[Daverball]

- Pins SQLAlchemy to versions before 2.0
[Daverball]

0.6.0

~~~~~~~~~~~~~~~~~~~

- Drops Python 3.6 support.
[Daverball]

- Normalizes availability partitions on 23/25 hours to a 24 hour day
so that DST transition days can be rendered the same as regular days.

This can optionally be avoided by passing ``normalize_dst=False`` to
the function.
[Daverball]

- Adds ``Allocation.normalized_availability`` that reports the
availability in the same normalized way.
[Daverball]

- Adds extra parameters to ``Allocation.limit_timespan`` that match
the new parameters added to ``sedate.get_date_range``.
[Daverball]

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.