Skip to content

Commit

Permalink
update change log for 3.4.1 (piskvorky#3451)
Browse files Browse the repository at this point in the history
* update change log for 3.4.1

* Update CHANGELOG.md

Co-authored-by: Radim Řehůřek <[email protected]>

---------

Co-authored-by: Radim Řehůřek <[email protected]>
  • Loading branch information
mpenkov and piskvorky committed Mar 9, 2023
1 parent cfb1a62 commit e7d77a1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
Changes
=======

## 4.3.1, 2022-03-08

### :red_circle: Bug fixes

* [#3447](https://github.com/RaRe-Technologies/gensim/pull/3447): Remove unused FuzzyTM dependency, handle ImportError, by [@mpenkov](https://github.com/mpenkov)
* [#3441](https://github.com/RaRe-Technologies/gensim/pull/3441): Fix changed calculation of cosine distance in Annoy wrapper, by [@monash849](https://github.com/monash849)

### :+1: Improvements

* [#3443](https://github.com/RaRe-Technologies/gensim/pull/3443): Sanity check for `hs` and `negative` in Word2Vec, by [@gau-nernst](https://github.com/gau-nernst)

### 🔮 Testing, CI, housekeeping

* [#3448](https://github.com/RaRe-Technologies/gensim/pull/3448): Enable arm64/aarch64 wheel builds, by [@nikaro](https://github.com/nikaro)

### :books: Tutorial and doc improvements

* [#3446](https://github.com/RaRe-Technologies/gensim/pull/3446): Update Python version in docs, by [@gliptak](https://github.com/gliptak)

## 4.3.0, 2022-12-17

### :star2: New Features
Expand Down
15 changes: 13 additions & 2 deletions release/generate_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
"""Generate changelog entries for all PRs merged since the last release."""
import re
import requests
import sys
import time


def throttle_get(*args, seconds=10, **kwargs):
print(args, kwargs, file=sys.stderr)
result = requests.get(*args, **kwargs)
result.raise_for_status()

Expand Down Expand Up @@ -39,13 +41,16 @@ def iter_merged_prs(since=release_timestamp):
)

pulls = get.json()
if not pulls:
break

count = 0
for i, pr in enumerate(pulls):
if pr['merged_at'] and pr['merged_at'] > since:
count += 1
yield pr

if count == 0:
break

page += 1


Expand All @@ -60,12 +65,18 @@ def iter_closed_issues(since=release_timestamp):
if not issues:
break

count = 0
for i, issue in enumerate(issues):
#
# In the github API, all pull requests are issues, but not vice versa.
#
if 'pull_request' not in issue and issue['closed_at'] > since:
count += 1
yield issue

if count == 0:
break

page += 1


Expand Down

0 comments on commit e7d77a1

Please sign in to comment.