Skip to content

Commit e02a743

Browse files
authored
Merge pull request #157 from xsuite/release/v0.6.6
Release 0.6.6
2 parents 82e877b + 77e30b0 commit e02a743

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "xcoll"
3-
version = "0.6.5"
3+
version = "0.6.6"
44
description = "Xsuite collimation package"
55
authors = [
66
{name="Frederik F. Van der Veken", email="[email protected]"},
@@ -22,10 +22,10 @@ dependencies = [
2222
"ruamel-yaml (>=0.17.31,<0.18.15)",
2323
"numpy>=1.0",
2424
"pandas>=1.4",
25-
"xobjects>=0.5.2",
25+
"xobjects>=0.5.3",
2626
"xdeps>=0.10.6",
2727
"xpart>=0.23.1",
28-
"xtrack>=0.90.1",
28+
"xtrack>=0.90.2",
2929
]
3030

3131
[project.optional-dependencies]

tests/test_rf_sweep.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import numpy as np
77
import pytest
88

9+
import xobjects as xo
910
import xtrack as xt
1011
import xcoll as xc
1112
from xobjects.test_helpers import for_all_test_contexts
@@ -41,6 +42,7 @@ def test_rf_sweep(sweep, beam, test_context):
4142

4243
# This sweep is 3.5 buckets, so check that all particles are at least 3 buckets away
4344
# negative sweep => positive off-momentum etc
45+
part.move(_context=xo.ContextCpu())
4446
if sweep < 0:
4547
assert np.all(part.delta > 3*bh)
4648
else:
@@ -67,4 +69,5 @@ def test_rf_sweep_old_style():
6769

6870
# This sweep is 3.5 buckets, so check that all particles are at least 3 buckets away
6971
# negative sweep => positive off-momentum etc
72+
part.move(_context=xo.ContextCpu())
7073
assert np.all(part.delta > 1.5e-3)

tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from xcoll import __version__
77

88
def test_version():
9-
assert __version__ == '0.6.5'
9+
assert __version__ == '0.6.6'

xcoll/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
# ======================
1313
# Do not change
1414
# ======================
15-
__version__ = '0.6.5'
15+
__version__ = '0.6.6'
1616
# ======================

0 commit comments

Comments
 (0)