Skip to content

Commit d92e7b7

Browse files
committed
1.4.0
1 parent c95bb02 commit d92e7b7

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ fn main():
4545
```
4646

4747
#### BETA
48+
1.4.0 will be the last version where this isn't the default
4849

4950
```mojo
5051
ThreadedCsvReader(

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels = ["conda-forge", "https://conda.modular.com/max"]
44
description = "csv parser in mojo"
55
name = "mojo_csv"
66
platforms = ["linux-64"]
7-
version = "1.2.1"
7+
version = "1.4.0"
88

99
[tasks]
1010
test = "mojo test tests/mojo_csv"

src/threaded_csv_reader.mojo

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ struct ThreadedCsvReader(Copyable, Representable, Sized, Stringable, Writable):
123123
except:
124124
# Fallback to single-threaded processing if parallelization fails
125125
print(
126-
"Warning: Parallel processing failed, falling back to"
127-
" single-threaded"
126+
"Warning: Parallel processing failed, falling back to single-threaded"
128127
)
129128
self._create_single_threaded_reader()
130129
return
@@ -277,9 +276,7 @@ struct ThreadedCsvReader(Copyable, Representable, Sized, Stringable, Writable):
277276
end_split = num_splits
278277

279278
if start_split < end_split:
280-
chunks.append(
281-
(split_points[start_split], split_points[end_split])
282-
)
279+
chunks.append((split_points[start_split], split_points[end_split]))
283280

284281
current_split = end_split
285282
return chunks

tests/recipe.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
context:
2-
version: 1.3.0
2+
version: 1.4.0
33

44
package:
55
name: "mojo_csv"
66
version: ${{ version }}
77

88
source:
99
- git: https://github.com/Phelsong/mojo_csv.git
10-
rev: 4d6643f27fe15e86263cdc66fd383cf345811228
10+
rev: c95bb02327f1295065475d456ab12bacad570154
1111

1212
build:
1313
number: 0

0 commit comments

Comments
 (0)