Skip to content

Commit

Permalink
Release 1.2.1 (#338)
Browse files Browse the repository at this point in the history
* Add the missing link for H3 geohash (#330)

* Add the missing link for H3 geohash

* Update the H3 geohash link.

* Update the same link 

Update the same link in in spark_function_and_window.ipynb example

* Update README.md (#331)

* Update Github Actions Workflow runner (#332)

* Update Workflow runner version

* bump flake8-bandit

* chore: bypass false positive for S105

Co-authored-by: Lucas Cardozo <[email protected]>

* Delete sphinx version. (#334)

* Update files to staging (#336)

Co-authored-by: Rodrigo Martins de Oliveira <[email protected]>

* Update butterfree/configs/db/cassandra_config.py

Co-authored-by: Rodrigo Martins de Oliveira <[email protected]>

Co-authored-by: Rodrigo Martins de Oliveira <[email protected]>

* Fix kafka reader. (#310)

* Fix path validate. (#311)

* Add local dc property (#312)

* release 1.2.1

Co-authored-by: Jay Vala <[email protected]>
Co-authored-by: Rodrigo Martins de Oliveira <[email protected]>
Co-authored-by: Lucas Fonseca <[email protected]>
Co-authored-by: Lucas Cardozo <[email protected]>
Co-authored-by: Felipe Victorino Caputo <[email protected]>
  • Loading branch information
6 people authored Jan 3, 2023
1 parent 1058c31 commit adebeb9
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
Pipeline:
if: github.ref == 'refs/heads/master'

runs-on: ubuntu-16.04
runs-on: ubuntu-22.04
container: quintoandar/python-3-7-java

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
Pipeline:
if: github.ref == 'refs/heads/staging'

runs-on: ubuntu-16.04
runs-on: ubuntu-22.04
container: quintoandar/python-3-7-java

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
Pipeline:
runs-on: ubuntu-16.04
runs-on: ubuntu-22.04
container: quintoandar/python-3-7-java

steps:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ Preferably use **Added**, **Changed**, **Removed** and **Fixed** topics in each
## [Unreleased]


## [1.2.1](https://github.com/quintoandar/butterfree/releases/tag/1.2.1)
### Changed
* Update README.md ([#331](https://github.com/quintoandar/butterfree/pull/331))
* Update Github Actions Workflow runner ([#332](https://github.com/quintoandar/butterfree/pull/332))
* Delete sphinx version. ([#334](https://github.com/quintoandar/butterfree/pull/334))

### Fixed
* Add the missing link for H3 geohash ([#330](https://github.com/quintoandar/butterfree/pull/330))

## [1.2.0](https://github.com/quintoandar/butterfree/releases/tag/1.2.0)
### Added
* [MLOP-636] Create migration classes ([#282](https://github.com/quintoandar/butterfree/pull/282))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To learn how to use Butterfree in practice, see [Butterfree's notebook examples]
## Requirements and Installation
Butterfree depends on **Python 3.7+** and it is **Spark 3.0 ready** :heavy_check_mark:

[Python Package Index](https://quintoandar.github.io/python-package-server/) hosts reference to a pip-installable module of this library, using it is as straightforward as including it on your project's requirements.
[PyPI hosts reference to a pip-installable module of this library](https://pypi.org/project/butterfree/), using it is as straightforward as including it on your project's requirements.

```bash
pip install butterfree
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
recommonmark==0.6.0
Sphinx==3.1.1
sphinx-rtd-theme==0.4.3
sphinxemoji==0.1.6
typing-extensions==3.7.4.2
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_feature_set/simple_feature_set.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"| - | - | - | - | - | - | - | - | - | - | - | - | - | - |\n",
"| int | timestamp | float | float | int | int | float | float | float | double | double | string | string | string |\n",
"\n",
"For more information about H3 geohash click [here]()\n",
"For more information about H3 geohash click [here](https://h3geo.org/docs/)\n",
"\n",
"The following code blocks will show how to generate this feature set using Butterfree library:\n",
"\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"\n",
"Note that we're going to compute two aggregated features, rent average and standard deviation, considering the two last occurrences (or events). It'd also be possible to define time windows, instead of windows based on events.\n",
"\n",
"For more information about H3 geohash click [here]().\n",
"For more information about H3 geohash click [here](https://h3geo.org/docs/).\n",
"\n",
"The following code blocks will show how to generate this feature set using Butterfree library:\n",
"\n"
Expand Down
3 changes: 2 additions & 1 deletion requirements.lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ flake8-isort==2.8.0
isort<5 # temporary fix
flake8-docstrings==1.5.0
flake8-bugbear==20.1.0
flake8-bandit==2.1.2
flake8-bandit==3.0.0

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import find_packages, setup

__package_name__ = "butterfree"
__version__ = "1.2.0"
__version__ = "1.2.1"
__repository_url__ = "https://github.com/quintoandar/butterfree"

with open("requirements.txt") as f:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/butterfree/configs/db/test_cassandra_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,6 @@ def test_set_credentials_on_instantiation(self):
username="username", password="password", host="host", keyspace="keyspace"
)
assert cassandra_config.username == "username"
assert cassandra_config.password == "password"
assert cassandra_config.password == "password" # noqa: S105
assert cassandra_config.host == "host"
assert cassandra_config.keyspace == "keyspace"

1 comment on commit adebeb9

@chip-n-dale
Copy link

@chip-n-dale chip-n-dale bot commented on adebeb9 Jan 3, 2023

Choose a reason for hiding this comment

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

Hi @moromimay!

The GitLeaks SecTool reported some possibly exposed credentials/secrets, how about giving them a look?

GitLeaks Alert Async
[
 {
 "line": " webhook: REDACTED",
 "lineNumber": 141,
 "offender": "REDACTED",
 "offenderEntropy": -1,
 "commit": "b6a5daf28abc035f74b9685aab573d384680b9d1",
 "repo": "butterfree",
 "repoURL": "",
 "leakURL": "",
 "rule": "Slack Webhook",
 "commitMessage": "initial commit\n",
 "author": "Alvaro",
 "email": "[email protected]",
 "file": ".drone.yml",
 "date": "2020-01-03T14:21:51-03:00",
 "tags": "key, slack"
 },
 {
 "line": " webhook: REDACTED",
 "lineNumber": 159,
 "offender": "REDACTED",
 "offenderEntropy": -1,
 "commit": "b6697aa708fec0c5a9e3af0b2713cee6f45ff675",
 "repo": "butterfree",
 "repoURL": "",
 "leakURL": "",
 "rule": "Slack Webhook",
 "commitMessage": "hail to the butterfree\n",
 "author": "Alvaro",
 "email": "[email protected]",
 "file": ".drone.yml",
 "date": "2020-01-03T11:07:44-03:00",
 "tags": "key, slack"
 }
]

In cases of false-positives, more information is available on GitLeaks FAQ
If you had any other problem or question during this process, be sure to contact us on the #security channel on Slack at the @team-appsec group!

Please sign in to comment.