Fwdpy11

Latest version: v0.22.2

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

Scan your dependencies

Page 1 of 18

0.22.2

Maintenance release

C++ back end:

* Clear table collection indexes early each generation.
PR {pr}`1272`

Build system

* Use scikit-build as the build backend.
PR {pr}`1284`
* Remove boutique arguments from `setup.py`.
PR {pr}`1288`
* Remove `setup.py`.
PR {pr}`1291`

CI and deployment

Several PRs resulted in the following changes:

* macos CI now runs on Apple Silicon runners
* macos wheels are now built for two recent Python versions for both
x86 and arm64 platforms
* [cibuildwheel](https://cibuildwheel.pypa.io/en/stable/) is used to build wheels.
* `docker` images are only pushed for releases and not for each commit
to `main`.

0.22.0

Bug fixes:

* Fixed incorrect handling of models with end times > 0 in a demes Graph.
When exporting to tskit, alive node times were treated as 0.0, causing
potential problems for some use cases.
Issue {issue}`1253`
PR {issue}`1255`

Deprecations

* Deprecate the `demes_graph` argument to {func}`fwdpy11.DiploidPopulation.dump_tables_to_tskit`
PR {issue}`1265`
* Deprecate using a dict for the the `model_params` argument to {func}`fwdpy11.DiploidPopulation.dump_tables_to_tskit`
PR {issue}`1265`

0.21.6

Data output to tskit now sets the time_units to generations.

0.21.5

Add support for Python 3.12, including wheels for Linux and macOS/x86.

0.21.4

Behavior changes:

* {func}`fwdpy11.DiploidPopulation.add_mutation` now considers the overlap
with the desired interval when calculating weights.
PR {pr}`1228`
Issue {issue}`1180`
* Raise warnings when removing selected fixations may
not be the right thing to do during a simulation.
PR {pr}`1235`

Documentation

* Remove deprecated API use from manual.
PR {pr}`1233`

0.21.3

Deprecations

* Constructing {class}`fwdpy11.ModelParams` without a demographic object is now deprecated
and raises a warning.
This will be a hard error in a future release.
PR {pr}`1219`

Documentation

* Minor updates to manual.
Some formatting issues fixed.
PR {pr}`1222`
PR {pr}`1223`

Python back end

* Use `tskit.NODE_IS_SAMPLE` constant instead of relying on the numeric value
when exporting to `tskit`.
PR {pr}`1218`

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.