Skip to content

Commit 0f86230

Browse files
authored
Merge pull request #180 from yilei/push_up_to_408735139
Push up to 408735139
2 parents 4a81f36 + a2892e5 commit 0f86230

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

absl/CHANGELOG.md renamed to CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com).
66

77
## Unreleased
88

9+
Nothing notable unreleased.
10+
11+
## 1.0.0 (2021-11-09)
12+
913
### Changed
1014

1115
* `absl-py` no longer supports Python 2.7, 3.4, 3.5. All versions have reached
1216
end-of-life for more than a year now.
17+
* New releases will be tagged as `vX.Y.Z` instead of `pypi-vX.Y.Z` in the git
18+
repo going forward.
1319

1420
## 0.15.0 (2021-10-19)
1521

absl/flags/_validators.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ def mark_flag_as_required(flag_name, flag_values=_flagvalues.FLAGS):
203203
warnings.warn(
204204
'Flag --%s has a non-None default value; therefore, '
205205
'mark_flag_as_required will pass even if flag is not specified in the '
206-
'command line!' % flag_name)
206+
'command line!' % flag_name,
207+
stacklevel=2)
207208
register_validator(
208209
flag_name,
209210
lambda value: value is not None,
@@ -255,7 +256,8 @@ def mark_flags_as_mutual_exclusive(flag_names, required=False,
255256
warnings.warn(
256257
'Flag --{} has a non-None default value. That does not make sense '
257258
'with mark_flags_as_mutual_exclusive, which checks whether the '
258-
'listed flags have a value other than None.'.format(flag_name))
259+
'listed flags have a value other than None.'.format(flag_name),
260+
stacklevel=2)
259261

260262
def validate_mutual_exclusion(flags_dict):
261263
flag_count = sum(1 for val in flags_dict.values() if val is not None)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
setuptools.setup(
5353
name='absl-py',
54-
version='0.15.0',
54+
version='1.0.0',
5555
description=(
5656
'Abseil Python Common Libraries, '
5757
'see https://github.com/abseil/abseil-py.'),

0 commit comments

Comments
 (0)