- Jan 26, 2022
-
-
Raphaël Bleuse authored
-
Millian Poquet authored
-
- Jan 25, 2022
-
-
Millian Poquet authored
-
- Jan 21, 2022
-
-
Millian Poquet authored
-
Millian Poquet authored
This is to enable call customization, typically to change the base pybatsim packages to use without needing to change default.nix but only by giving the right arguments to nix-build.
-
Millian Poquet authored
This avoid a redundancy and helps maintainability. Without this, inconsisent names may appear when we change the override base.
-
Millian Poquet authored
This will make simpler the importation of this git repository from Nix code, as a common hypothesis is that a default.nix is present at its root. Other nix files could have been kept in each subfolder, but as their Nix description is small I feel like it will be simpler to maintain by only using a single file.
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
- Jan 13, 2022
-
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
The launcher code is responsible for instantiating the scheduler requested by the user. We deport the responsibility of building a subclass of BatsimScheduler out of the launcher. For the existing functional API, we introduce a wrapper class emulating the existing behavior.
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
The names of entry points is not guaranteed to be unique across all packages: schedulers defined in different packages may use the same entry point name. If a user requests to run a scheduler (identified by the name of its entry point) that is bound to multiple classes, the execution is aborted as there is no way to univocally choose a scheduler. Note that the execution continues as long as the user requests to run a scheduler bound to a single class, even if some other ambiguous schedulers exist.
-
Raphaël Bleuse authored
The CLI is refactored to start schedulers based on the name they have been registered under in the pybatsim.schedulers entry point.
-
Raphaël Bleuse authored
This commit introduces the basic mechanism to define schedulers as plugins. Schedulers defined as plugins are now registered under the pybatsim.schedulers entry point. The plugin module contains the logic to retrieve schedulers based on the name they have been registered with.
-
Raphaël Bleuse authored
PyBatsim shipped two packages `batsim` and `schedulers` as top-level packages. This commits is a first step towards a neater architecture for pybatsim. `batsim` is a misleading name as it let users think this is a pure Python implementation of Batsim: this is not the purpose of this package. `schedulers` is easy to be confused with the standard library `sched` module.
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
The validating machine checks a very simple set of constraints. The use of the machine has been obsoleted by Batsim internal checks: Batsim checks more and is more opinionated.
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
The common_pyss_adaptator module is only used by unmaintained code, we do not aim at maintaining it anymore.
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
Publishing is now handled by poetry.
-
Raphaël Bleuse authored
SimGrid option names have moved to kebab-case since d2870500, published in SimGrid 3.13. Aliases for the old option names were removed by 772b8468, published in SimGrid 3.26.
-
- Jan 11, 2022
-
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
- Dec 15, 2021
-
-
Millian Poquet authored
-
Raphaël Bleuse authored
See merge request batsim/pybatsim!14
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Millian Poquet authored
-
Millian Poquet authored
-
Millian Poquet authored
-
- Dec 08, 2021
-
-
Raphaël Bleuse authored
The version of the package is defined once in `pyproject.toml`. The two packages `batsim` and `schedulers` now rely on `importlib` to retrieve the version. Refer to [1] for details. [1]: https://packaging.python.org/en/latest/guides/single-sourcing-package-version/
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
-
Raphaël Bleuse authored
Sphinx is required to build documentation.
-