-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Prepare 2.1.0.dev0 #11089
Prepare 2.1.0.dev0 #11089
Conversation
[ci skip-rust] [ci skip-build-wheels]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good on classifying those all as internal.
src/python/pants/notes/2.1.x.rst
Outdated
* Add `:my_func` shorthand for the `entry_point` field (#11064) | ||
`PR #11064 <https://github.com/pantsbuild/pants/pull/11064>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New feature
src/python/pants/notes/2.1.x.rst
Outdated
* Deprecate the `compatibility` field in favor of `interpreter_constraints` (#11074) | ||
`PR #11074 <https://github.com/pantsbuild/pants/pull/11074>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want this at the very top because it's a new deprecation.
src/python/pants/notes/2.1.x.rst
Outdated
|
||
This document describes releases leading up to the ``2.1.x`` ``stable`` series. | ||
|
||
See https://www.pantsbuild.org/v2.0/docs/release-notes-2-1 for an overview of the changes in this release, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See https://www.pantsbuild.org/v2.0/docs/release-notes-2-1 for an overview of the changes in this release, and | |
See https://www.pantsbuild.org/v2.1/docs/release-notes-2-1 for an overview of the changes in this release, and |
The release notes will only be added to the new v2.1 branch of the site.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also the , and
part is bad. Did you mean to include the link to the plugin upgrade guide?
* Deprecate the `platforms` field allowing a bare string (#11073) | ||
`PR #11073 <https://github.com/pantsbuild/pants/pull/11073>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User API change
src/python/pants/notes/2.1.x.rst
Outdated
* Add process return value as workunit metadata item (#11086) | ||
`PR #11086 <https://github.com/pantsbuild/pants/pull/11086>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto on internal only.
src/python/pants/notes/2.1.x.rst
Outdated
* Restore EngineAware metadata() method with non-cpython-reliant data structures (#11054) | ||
`PR #11054 <https://github.com/pantsbuild/pants/pull/11054>`_ | ||
`PR #11047 <https://github.com/pantsbuild/pants/pull/11047>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like an internal only change. Only Toolchain is consuming this API, as far as we know.
src/python/pants/notes/2.1.x.rst
Outdated
* Do not error if `./pants package` does not match any targets (#11051) | ||
`PR #11051 <https://github.com/pantsbuild/pants/pull/11051>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd put this under User API change, near the top (above the "remove" ones).
src/python/pants/notes/2.1.x.rst
Outdated
* remove extraneous log statement (#11057) | ||
`PR #11057 <https://github.com/pantsbuild/pants/pull/11057>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this never actually hit production, I think you can leave it off. That is, if we broke it at the start of dev0 but fixed before dev0.
(The reason we're leaving off changes now is to make the changelog less overwhelming for users upgrading)
register( | ||
"--provides-columns", | ||
default="address,artifact_id", | ||
help=( | ||
"Display these columns when --provides is specified. Available columns are: " | ||
"address, artifact_id, repo_name, repo_url, push_db_basedir" | ||
), | ||
removal_version="2.0.1.dev0", | ||
removal_hint=( | ||
"The option `--provides-columns` no longer does anything. It was specific to the " | ||
"JVM backend, so no longer makes sense with Pants 2.0 initially only supporting " | ||
"Python." | ||
), | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks.
src/python/pants/notes/2.1.x.rst
Outdated
2.1.0.dev0 (10/30/2020) | ||
---------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our (old?) rst rendering would have complained that the dashes aren't as long as the title here... maybe the PyPI rendering for wheels doesn't care.
New Features | ||
~~~~~~~~~~~~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would put both New Features and Bugfixes above API Changes in future.
src/python/pants/notes/2.1.x.rst
Outdated
* Deprecate unused `run-tracker` options (#11038) | ||
`PR #11038 <https://github.com/pantsbuild/pants/pull/11038>`_ | ||
|
||
* Add `[python-setup].resolver_http_cache_ttl` option (#10997) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New feature
* Validate that option scopes and target aliases don't collide. (#11004) | ||
`PR #11004 <https://github.com/pantsbuild/pants/pull/11004>`_ | ||
|
||
* Add mechanism to deprecate target types and fields (#10966) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internal only
src/python/pants/notes/2.1.x.rst
Outdated
* Add mechanism to deprecate target types and fields (#10966) | ||
`PR #10966 <https://github.com/pantsbuild/pants/pull/10966>`_ | ||
|
||
* Automatically set setuptools interpreter constraints if unspecified (#10951) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug fix
* remote caching support (#10960) | ||
`PR #10960 <https://github.com/pantsbuild/pants/pull/10960>`_ | ||
|
||
* Store per-run logs on RunTracker (#11025) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably internal only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any pants plugin writer can make use of this feature, even if it's only toolchain using it at the moment.
[ci skip-rust]
[ci skip-rust]
upgrade to cpython crate v0.5.1 (upgrade to cpython crate v0.5.1 #11052)
PR #11052 <https://github.com/pantsbuild/pants/pull/11052>
_Prepare 2.0.0 (Prepare 2.0.0 #11053)
PR #11053 <https://github.com/pantsbuild/pants/pull/11053>
_Revert "Add new EngineAware method metadata() (Add new EngineAware method metadata() #11030)" (Revert "Add new EngineAware method metadata() (#11030)" #11047)
PR #11030 <https://github.com/pantsbuild/pants/pull/11030>
_PR #11047 <https://github.com/pantsbuild/pants/pull/11047>
_Remove deprecated
python_binary
target in favor ofpex_binary
(Remove deprecatedpython_binary
target in favor ofpex_binary
#11046)PR #11046 <https://github.com/pantsbuild/pants/pull/11046>
_Prepare 2.0.0rc3 (Prepare 2.0.0rc3 #11044)
PR #11044 <https://github.com/pantsbuild/pants/pull/11044>
_Eagerly validate entry points for
setup_py().with_binaries()
(Eagerly validate entry points forsetup_py().with_binaries()
#11034)PR #11034 <https://github.com/pantsbuild/pants/pull/11034>
_PR #11021 <https://github.com/pantsbuild/pants/pull/11021>
_Use Ubuntu Bionic for CI (Use Ubuntu Bionic for CI #11027)
PR #11027 <https://github.com/pantsbuild/pants/pull/11027>
_Prepare 2.0.0rc2 (Prepare 2.0.0rc2 #11017)
PR #11017 <https://github.com/pantsbuild/pants/pull/11017>
_Remove RunTrackerLogger (Remove RunTrackerLogger #11018)
PR #11018 <https://github.com/pantsbuild/pants/pull/11018>
_Upgrade Pex to 2.1.20 (Upgrade Pex to 2.1.20 #11014)
PR #11014 <https://github.com/pantsbuild/pants/pull/11014>
_Remove more unused code from RunTracker (Remove more unused code from RunTracker #11012)
PR #11012 <https://github.com/pantsbuild/pants/pull/11012>
_Add type annotations to AggregatedTimings (Add type annotations to AggregatedTimings #11009)
PR #11009 <https://github.com/pantsbuild/pants/pull/11009>
_Increase default
[python-setup].resolver_jobs
tocpu_count / 2
(Increase default[python-setup].resolver_jobs
tocpu_count / 2
#11006)PR #11006 <https://github.com/pantsbuild/pants/pull/11006>
_Include
<PYENV>
in[python-setup].interpreter_search_paths
default (Include<PYENV>
in[python-setup].interpreter_search_paths
default #10998)PR #10998 <https://github.com/pantsbuild/pants/pull/10998>
_Remove PantsDaemonStats class wrapper (Get rid of PantsDaemonStats class wrapper #11003)
PR #11003 <https://github.com/pantsbuild/pants/pull/11003>
_PR #files#r508861045 <https://github.com/pantsbuild/pants/pull/11000/files#r508861045>
_Revert using libCST for dep inference due to performance (use libCST to parse imports from python 3 code #10907) (Revert using libCST for dep inference due to performance #11001)
PR #10907 <https://github.com/pantsbuild/pants/pull/10907>
_PR #11001 <https://github.com/pantsbuild/pants/pull/11001>
_Run tracker refactor (Run tracker refactor #11000)
PR #11000 <https://github.com/pantsbuild/pants/pull/11000>
_refactor Core::new including command runner setup (refactor Core::new including command runner setup #10993)
PR #10993 <https://github.com/pantsbuild/pants/pull/10993>
_PR #10960 <https://github.com/pantsbuild/pants/pull/10960>
_Allow changing the versioning scheme for
python_distribution
first-party dependencies (Allow changing the versioning scheme forpython_distribution
first-party dependencies #10977)PR #10977 <https://github.com/pantsbuild/pants/pull/10977>
_Remove tokio Handle type from Executor::new (Remove tokio Handle type from Executor::new #10980)
PR #10980 <https://github.com/pantsbuild/pants/pull/10980>
_Remove deprecated
Address.parse()
andAddress.reference()
(Remove deprecatedAddress.parse()
andAddress.reference()
#10981)PR #10981 <https://github.com/pantsbuild/pants/pull/10981>
_Remove project_ methods from the externs module (Remove project_ methods from the externs module #10955)
PR #10955 <https://github.com/pantsbuild/pants/pull/10955>
_Prepare 2.0.0rc1 (Prepare 2.0.0rc1 #10972)
PR #10972 <https://github.com/pantsbuild/pants/pull/10972>
_Fix interpreter selection when building a PEX to use
[python-setup].interpreter_search_paths
(Fix interpreter selection when building a PEX to use[python-setup].interpreter_search_paths
#10965)PR #10965 <https://github.com/pantsbuild/pants/pull/10965>
_Delete
JsonReporter
(Delete JsonReporter #10964)PR #10964 <https://github.com/pantsbuild/pants/pull/10964>
_Fix log (Fix logger declaration in lint.py #10959)
PR #10959 <https://github.com/pantsbuild/pants/pull/10959>
_Expose getattr method for Python-related APIs (Expose getattr method for Python-related APIs #10953)
PR #10953 <https://github.com/pantsbuild/pants/pull/10953>
_Upgrade tokio package to 0.2.22 (Upgrade tokio package to 0.2.22 #10949)
PR #10949 <https://github.com/pantsbuild/pants/pull/10949>
_Use
package
to build Pants's wheels, rather thansetup-py
(Usepackage
to build Pants's wheels, rather thansetup-py
#10947)PR #10947 <https://github.com/pantsbuild/pants/pull/10947>
_Simplify val_to_str and have it and val_to_log_level use PyObject (Simplify val_to_str and have it and val_to_log_level use PyObject #10946)
PR #10946 <https://github.com/pantsbuild/pants/pull/10946>
_