Skip to content

Commit

Permalink
Drop Python3.5 support (#53)
Browse files Browse the repository at this point in the history
* Drop Python3.5 support

* Minor edit
  • Loading branch information
Luminaar authored Sep 19, 2020
1 parent 13ba60e commit 5c6c9e3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
- docker
language: python
python:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 0.10.0
- Changes:
- Drop Python3.5 support

## Version 0.9.0
- Changes:
- Add the `docker_cleanup` fixture to allow custom cleanup actions for
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests with Docker and [docker-compose](https://docs.docker.com/compose/).
Specify all necessary containers in a `docker-compose.yml` file and and
`pytest-docker` will spin them up for the duration of your tests.

This package is tested with Python versions `3.5`, `3.6`, `3.7`, `3.8` and
This package is tested with Python versions `3.6`, `3.7`, `3.8` and
`3.9`, and `pytest` version 4, 5 and 6. Python 2 is not supported.

`pytest-docker` was originally created by André Caron.
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pytest-docker
version = 0.9.0
version = 0.10.0
description = Simple pytest fixtures for Docker and docker-compose based tests
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -13,7 +13,6 @@ author_email = [email protected]
license = MIT
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Expand All @@ -26,7 +25,7 @@ classifiers =
Operating System :: Microsoft :: Windows

[options]
python_requires = >= 3.5
python_requires = >= 3.6

package_dir=
=src
Expand Down
1 change: 0 additions & 1 deletion src/pytest_docker/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def port_for(self, service, container_port):
)

# This handles messy output that might contain warnings or other text
# Added specifically to handle a deprecation warning in Python3.5
if len(endpoint.split("\n")) > 1:
endpoint = endpoint.split("\n")[-1]

Expand Down

0 comments on commit 5c6c9e3

Please sign in to comment.