salabim 24.0.4__tar.gz → 24.0.4.post1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {salabim-24.0.4 → salabim-24.0.4.post1}/PKG-INFO +1 -1
- {salabim-24.0.4 → salabim-24.0.4.post1}/pyproject.toml +1 -1
- salabim-24.0.4.post1/salabim/__init__.py +2 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/changelog.txt +10 -7
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/salabim.py +1 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim.egg-info/PKG-INFO +1 -1
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim.egg-info/SOURCES.txt +1 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_monitor.py +7 -7
- salabim-24.0.4.post1/tests/test_salabim.py +9 -0
- salabim-24.0.4/tests/test_salabim.py +0 -5
- {salabim-24.0.4 → salabim-24.0.4.post1}/README.md +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/DejaVuSansMono.ttf +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/LICENSE.txt +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/calibri.ttf +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim/mplus-1m-regular.ttf +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim.egg-info/dependency_links.txt +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/salabim.egg-info/top_level.txt +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/setup.cfg +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_cap_now.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_componentgenerator.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_datetime.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_distributions.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_misc.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_process.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_queue.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_state.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_store.py +0 -0
- {salabim-24.0.4 → salabim-24.0.4.post1}/tests/test_timeunit.py +0 -0
@@ -8,7 +8,7 @@ authors = [
|
|
8
8
|
{name = "Ruud van der Ham", email = "rt.van.der.ham@gmail.com"}
|
9
9
|
]
|
10
10
|
description = "salabim - discrete event simulation in Python"
|
11
|
-
version = "24.0.4"
|
11
|
+
version = "24.0.4-1"
|
12
12
|
readme = "README.md"
|
13
13
|
requires-python = ">=3.7"
|
14
14
|
dependencies = [
|
@@ -1,19 +1,22 @@
|
|
1
1
|
salabim changelog
|
2
2
|
|
3
|
-
version 24.0.4 2024-05-
|
3
|
+
version 24.0.4 2024-05-03
|
4
4
|
==========================
|
5
|
-
|
5
|
+
Although there's no functional change, this is a major upgrade,
|
6
|
+
that could result in bugs or unexpected behaviour.
|
7
|
+
Please report any bug or problem.
|
6
8
|
|
7
|
-
version 24.0.3 2024-05-01
|
8
|
-
==========================
|
9
9
|
Internal organization completely changed. Now uses git for version
|
10
|
-
control.
|
10
|
+
control. That means that it is much easier for the developer
|
11
|
+
to push new versions.
|
12
|
+
|
13
|
+
And for publishing on PyPI salabim now uses a pyproject.toml file.
|
14
|
+
This also makes publishing easier for the developer.
|
11
15
|
|
12
16
|
Changed the styling of the salabim logo, which will be visible on the
|
13
|
-
website,readme, manual.
|
17
|
+
website, readme, manual.
|
14
18
|
Also the Environment.modelname() method now shows the new styling.
|
15
19
|
|
16
|
-
|
17
20
|
version 24.0.2 2024-03-15
|
18
21
|
==========================
|
19
22
|
Added functionality (0)
|
@@ -27086,6 +27086,7 @@ reset()
|
|
27086
27086
|
set_environment_aliases()
|
27087
27087
|
|
27088
27088
|
if __name__ == "__main__":
|
27089
|
+
sys.path.insert(0,str(Path.cwd()/"misc"))
|
27089
27090
|
try:
|
27090
27091
|
import salabim_exp
|
27091
27092
|
except Exception as e:
|
@@ -397,13 +397,13 @@ def test_level_values():
|
|
397
397
|
class Interrupter(sim.Component):
|
398
398
|
def process(self):
|
399
399
|
self.hold(6)
|
400
|
-
x0
|
401
|
-
|
402
|
-
|
400
|
+
for x in (x0,x1,x2):
|
401
|
+
if x.isscheduled():
|
402
|
+
x.interrupt()
|
403
403
|
self.hold(4)
|
404
|
-
x0
|
405
|
-
|
406
|
-
|
404
|
+
for x in (x0,x1,x2):
|
405
|
+
if x.isinterrupted():
|
406
|
+
x.resume()
|
407
407
|
|
408
408
|
def status_map(status):
|
409
409
|
return sim.statuses().index(status)
|
@@ -425,7 +425,7 @@ def test_level_values():
|
|
425
425
|
|
426
426
|
env.run(till=50)
|
427
427
|
|
428
|
-
assert x1.status.value_duration("requesting") == pytest.approx(
|
428
|
+
assert x1.status.value_duration("requesting") == pytest.approx(14.1)
|
429
429
|
|
430
430
|
assert x0.mode.xt(force_numeric=None) == (["abc", "ghi", "jkl", "jkl"], array("d", [0.0, 4.3, 18.4, 50.0]))
|
431
431
|
assert x0.status.xt(force_numeric=None) == (
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|