Skip to content

Commit

Permalink
Fix pyproject versions (#63)
Browse files Browse the repository at this point in the history
* Fix pyproject versions
  • Loading branch information
dbrattli authored Jul 31, 2022
1 parent b511351 commit 3bdedd2
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"fable": {
"version": "4.0.0-snake-island-alpha-014",
"version": "4.0.0-snake-island-alpha-019",
"commands": [
"fable"
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ how to deal with Python version handling.
Prerequisite for compiling F# to Python using Fable:

```sh
> dotnet tool install --global fable --version 4.0.0-snake-island-alpha-014
> dotnet tool install --global fable --version 4.0.0-snake-island-alpha-019
> dotnet add package Fable.Core --version 4.0.0-snake-island-alpha-007
```

Expand Down
22 changes: 10 additions & 12 deletions examples/timeflies/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions examples/timeflies/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ license = "MIT"

[tool.poetry.dependencies]
python = "^3.9"
fable-library = ""
fable-library = ">=0.8.0"
fable-python = ""
fsharp-control-async-rx = ""

[tool.poetry.dev-dependencies]
fable-library = {path = "./fable_modules/fable-library", develop = true}
fable-python = {path = "./fable_modules/fable-python", develop = true}
fsharp-control-async-rx = {path = "./fable_modules/fsharp-control-async-rx", develop = true}

Expand Down
35 changes: 12 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ homepage = "https://fable.io"

[tool.poetry.dependencies]
python = ">= 3.9, < 4.0"
fable-library = ""

[tool.poetry.dev-dependencies]
fable-library = {path = "./build/fable_modules/fable-library", develop = true}
pytest = "^6.2.4"

[tool.pyright]
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">= 3.9, < 4.0"
fable-library = "^0.8.0"
fable-library = ">=0.8.0"

[tool.poetry.dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion test/TestBuiltins.fs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ let ``test __name__ works`` () = __name__ |> equal "test_builtins"
[<Fact>]
let ``test write works`` () =
let result = builtins.``open``("test.txt", OpenTextMode.Write)
result.write "ABC" |> equal 3
result.write "ABC" |> equal 3

0 comments on commit 3bdedd2

Please sign in to comment.