Skip to content

Commit

Permalink
Drop Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Hernandez committed Jul 10, 2021
1 parent 4064455 commit 926d9ca
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 310 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pyflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
poetry-version: [1.1.7]
max-parallel: 1
steps:
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Coupon, Invoice: 1.2.0
- Settlement, Merchant: 1.3.0

## [1.0.3] - 2021-09-18
## [1.0.4] - 2021-07-09
### Removed
- Python 3.6 Support

## [1.0.3] - 2020-09-18
### Added
- Stable

## [1.0.2-beta] - 2021-09-18
## [1.0.2-beta] - 2020-09-18
### Added
- Soporte python 3.6
- Configuracion Tox
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ Cliente API para operaciones con el servicio de pagos Flow.cl
---

## Instalacion
Este proyecto está desarrollado para Python 3.7 y superior.
Para soporte Python 3.6 revisar la rama **stable-py36**.
Este proyecto es administrado por Poetry.
Se entrega archivo requirements.txt para PIP.
Se entrega archivo requirements.txt para PIP.


---
Expand Down
7 changes: 1 addition & 6 deletions pyflowcl/Payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
from typing import Any, Dict, Union, cast
from .Clients import ApiClient
import logging
import sys

if sys.version_info[0] == 3 and sys.version_info[1] < 7:
from .models_36 import *
else:
from .models import *
from .models import *


def getStatus(
Expand Down
7 changes: 1 addition & 6 deletions pyflowcl/Refund.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
from typing import Any, Dict, Union, cast
from .Clients import ApiClient
import logging
import sys

if sys.version_info[0] == 3 and sys.version_info[1] < 7:
from .models_36 import *
else:
from .models import *
from .models import *


def create(
Expand Down
284 changes: 0 additions & 284 deletions pyflowcl/models_36.py

This file was deleted.

6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyflowcl"
version = "1.0.3"
version = "1.0.4"
description = "Cliente para comunicacion con flowAPI-3 de flow.cl"
authors = ["Mario Hernandez <[email protected]>"]
license = "MIT"
Expand All @@ -9,7 +9,6 @@ repository = "https://github.com/mariofix/pyflowcl"
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -18,9 +17,8 @@ classifiers=[
]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.7"
requests = "^2.25.1"
dataclasses = { version = "*", python = "~3.6" }

[tool.poetry.dev-dependencies]
pytest = "*"
Expand Down
6 changes: 1 addition & 5 deletions tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import sys
if sys.version_info[0] == 3 and sys.version_info[1] < 7:
from pyflowcl.models_36 import *
else:
from pyflowcl.models import *
from pyflowcl.models import *


def test_model_error():
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36,py37,py38,py39
envlist = py37,py38,py39
isolated_build = True

[testenv]
Expand Down

0 comments on commit 926d9ca

Please sign in to comment.