Skip to content

Commit 3c5ce61

Browse files
Upgrade to 2.10.0rc0 (#6)
1 parent 4594e8a commit 3c5ce61

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ An example repository to demonstrate codegen support in Pants.
44

55
Refer to these docs for more information:
66

7-
* [Python Protobuf](https://www.pantsbuild.org/docs/protobuf-python)
8-
* [Python Thrift](https://www.pantsbuild.org/docs/protobuf-python)
7+
* [Python Protobuf](https://www.pantsbuild.org/v2.10/docs/protobuf-python)
8+
* [Python Thrift](https://www.pantsbuild.org/v2.10/docs/protobuf-python)
99

1010
Run `./pants export-codegen ::` to see the generated files. This isn't necessary for Pants to
1111
use the generated files, but can be useful when debugging or to generate files for IDEs.
12+
13+
Check out our other [example repositories](https://www.pantsbuild.org/docs/example-repos) to see
14+
other features like running linters and formatters, and packaging binaries.

pants.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
[GLOBAL]
2-
pants_version = "2.10.0.dev3"
2+
pants_version = "2.10.0rc0"
33
backend_packages = [
44
"pants.backend.codegen.protobuf.python",
5-
"pants.backend.experimental.codegen.thrift.apache.python",
5+
"pants.backend.codegen.thrift.apache.python",
66
"pants.backend.python",
77
]
88

99
use_deprecated_python_macros = false
1010

11-
[source]
12-
root_patterns = ["src/*"]
13-
1411
[anonymous-telemetry]
1512
enabled = true
1613
repo_id = "205E301D-44A4-42FF-8495-C9D41871A431"

src/python/thrift_examples/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python_tests(dependencies=["src/thrift:thrift"])
1+
python_tests()

0 commit comments

Comments
 (0)