Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 2.0.0b3 #45

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ install:
script:
- ./pants lint test '**'
# Smoke test that our release process will work.
- ./pants binary helloworld/main.py helloworld/main_py2.py
- ./pants package helloworld/main.py helloworld/main_py2.py helloworld:helloworld-awslambda
- ./pants run helloworld/main.py
- ./pants run helloworld/main_py2.py
# TODO: Fix PEX bug causing these to fail in CI, then reactivate when 2.0.0b1 is released.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi @asherf this is fixed. Thanks @jsirois!

# - ./pants setup-py --args="bdist_wheel" helloworld/util:dist
# - ./pants awslambda helloworld:helloworld-awslambda
- ./pants setup-py --args="bdist_wheel" helloworld/util:dist
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ Try these out in this repo!
./pants test helloworld/util/lang_test.py -- -k test_language_translator # Run just this one test.
```

## Create a runnable binary
## Create a PEX binary

```
./pants binary helloworld/main.py helloworld/main_py2.py
./pants package helloworld/main.py helloworld/main_py2.py
```

## Run a binary
Expand All @@ -149,7 +149,7 @@ Try these out in this repo!
(This example only works on Linux because it has an sdist. See https://www.pantsbuild.org/docs/awslambda-python.)

```
./pants awslambda helloworld:helloworld-awslambda
./pants package helloworld:helloworld-awslambda
```

## Count lines of code
Expand Down
4 changes: 2 additions & 2 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the Apache License, Version 2.0 (see LICENSE).

[GLOBAL]
pants_version = "2.0.0b1"
pants_version = "2.0.0b3"
pantsd = true # Enable the Pants daemon for better performance.

backend_packages.add = [
Expand All @@ -15,7 +15,7 @@ backend_packages.add = [
'pants.backend.python.lint.isort',
]

# This ensures that the result of `./pants binary` is always unique. It will become the default in
# This ensures that the result of `./pants package` is always unique. It will become the default in
# Pants 2.1.
pants_distdir_legacy_paths = false

Expand Down