Skip to content

Commit

Permalink
Update twine command to be more precise
Browse files Browse the repository at this point in the history
With the new pip resolve, uploading tar balls will cause inconsistency, so we have to upload the wheel only.

In theory twine should throw an error when tar is being uploaded, but instead it silently allows the upload.

Signed-off-by: Nikhil <[email protected]>
  • Loading branch information
nikhilsimha committed Feb 1, 2024
1 parent 597e89d commit 9bee3dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ password=<your password>
2. Install `tox, build, twine`. There are three python requirements for the python build process.
* tox: Module for testing. To run the tests run tox in the main project directory.
* build: Module for building. To build run `python -m build` in the main project directory
* twine: Module for publishing. To upload a distribution run `twine upload dist/<distribution>`
* twine: Module for publishing. To upload a distribution run `twine upload dist/<distribution>.whl`
```
python3 -m pip install -U tox build twine
```
Expand Down Expand Up @@ -282,4 +282,4 @@ In the repl prompt load the jar
import $cp.spark.target.`scala-2.12`.`spark_uber-assembly-0.0.63-SNAPSHOT.jar`
```

Now you can import the chronon classes and use them directly from repl for testing.
Now you can import the chronon classes and use them directly from repl for testing.

0 comments on commit 9bee3dc

Please sign in to comment.