Skip to content

Commit 8fa2e8b

Browse files
author
ragrawal
committed
updated version and added changelot
1 parent 29c1be3 commit 8fa2e8b

8 files changed

+73
-54
lines changed

.github/workflows/python-publish.yml

-49
This file was deleted.
File renamed without changes.

.github/workflows/step2_release.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Upload Python Package
2+
3+
on:
4+
workflow_dispatch:
5+
branches:
6+
- main
7+
8+
jobs:
9+
10+
release:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- name: Changelog
19+
uses: scottbrenner/generate-changelog-action@master
20+
id: Changelog
21+
- name: Create Release
22+
id: create_release
23+
uses: actions/create-release@latest
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
26+
with:
27+
tag_name: ${{ github.ref }}
28+
release_name: ${{ github.ref }}
29+
body: |
30+
${{ steps.Changelog.outputs.changelog }}
31+
draft: false
32+
prerelease: false
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PyPI Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
branches:
6+
- main
7+
8+
jobs:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.x"
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install setuptools wheel twine
24+
- name: Build and publish PyPI
25+
env:
26+
TWINE_USERNAME: __token__
27+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
28+
run: |
29+
python setup.py sdist bdist_wheel
30+
twine upload --repository pypi dist/*

.github/workflows/upload_conda.yml .github/workflows/step4_conda_deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Upload Python Package
1+
name: Conda Deploy
22

33
on:
44
workflow_dispatch:

README.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,14 @@ Below example shows how to change logging level.
455455
Changelog
456456
---------
457457

458-
* Fix bug with `__setstate__` method. Calling super so that mixin such as baikal can work properly
459-
* adding test for Python 3.9
458+
459+
2.1.0 (2021-02-26)
460+
******************
461+
* Removed test for Python 3.6 and added Python 3.9
462+
* Added deprecation warning for NumericalTransformer
463+
* Fixed pickling issue causing integration issues with Baikal.
464+
* Started publishing package to conda repo
465+
460466

461467
2.0.4 (2020-11-06)
462468
******************

sklearn_pandas/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '2.0.4'
1+
__version__ = '2.1.0'
22

33
import logging
44
logger = logging.getLogger(__name__)

sklearn_pandas/transformers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, func):
3333
"""
3434

3535
warnings.warn("""
36-
NumericalTransformer will be deprecated in 2.1 version.
36+
NumericalTransformer will be deprecated in 2.2 version.
3737
Please use Sklearn.base.TransformerMixin to write
3838
customer transformers
3939
""", DeprecationWarning)

0 commit comments

Comments
 (0)