Skip to content

Commit

Permalink
Pin numba
Browse files Browse the repository at this point in the history
  • Loading branch information
benjeffery committed Jun 17, 2024
1 parent beb6b0f commit 2483fe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions python/requirements/CI-tests-pip/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ newick==1.3.2
tszip==0.2.2
kastore==0.3.2
lxml==4.9.2
numba<=0.59.1 #Pinned directly as 0.60.0 fails
6 changes: 3 additions & 3 deletions python/tests/tsutil.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License
#
# Copyright (c) 2018-2023 Tskit Developers
# Copyright (c) 2018-2024 Tskit Developers
# Copyright (C) 2017 University of Oxford
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -2284,7 +2284,7 @@ def all_fields_ts(edge_metadata=True, migrations=True):
tables.reference_sequence.url = "http://example.com/a_reference"

# Add some more rows to provenance to have enough for testing.
for _ in range(3):
tables.provenances.add_row(record="A")
for i in range(3):
tables.provenances.add_row(record="A", timestamp=str(i))

return tables.tree_sequence()

0 comments on commit 2483fe9

Please sign in to comment.