Skip to content

Commit

Permalink
Drop Python 3.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoguaro committed Apr 12, 2021
1 parent 9f984af commit 8809aad
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -185,3 +185,4 @@ Temporary Items

# Ignore all local history of files
.history
.vscode/settings.json
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,7 +1,8 @@
language: python
python:
- 3.7
- 3.6
- 3.8
- 3.9
install: pip install -U tox-travis
script: tox
deploy:
Expand Down
12 changes: 8 additions & 4 deletions CONTRIBUTING.rst
Expand Up @@ -45,7 +45,8 @@ articles, and such.
Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/nicoguaro/continuum_mechanics/issues.
The best way to send feedback is to file an issue at
https://github.com/nicoguaro/continuum_mechanics/issues.

If you are proposing a feature:

Expand All @@ -57,14 +58,17 @@ If you are proposing a feature:
Get Started!
------------

Ready to contribute? Here's how to set up `continuum_mechanics` for local development.
Ready to contribute? Here's how to set up `continuum_mechanics` for
local development.

1. Fork the `continuum_mechanics` repo on GitHub.
2. Clone your fork locally::

$ git clone git@github.com:your_name_here/continuum_mechanics.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
3. Install your local copy into a virtualenv. Assuming you have
virtualenvwrapper installed, this is how you set up your fork for local
development::

$ mkvirtualenv continuum_mechanics
$ cd continuum_mechanics/
Expand Down Expand Up @@ -102,7 +106,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.6 and 3.7, and for PyPy. Check
3. The pull request should work for Python 3.7 to 3.9, and for PyPy. Check
https://travis-ci.org/nicoguaro/continuum_mechanics/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
6 changes: 6 additions & 0 deletions HISTORY.rst
Expand Up @@ -21,3 +21,9 @@ History
* Fix vector gradient for curvilinear coordinates.

* Add divergence for second-order tensors.


0.2.2 (2021-04-12)
------------------

* Python 3.6 support dropped.
2 changes: 1 addition & 1 deletion environment.yml
Expand Up @@ -2,7 +2,7 @@ name: continuum_mechanics
channels:
- conda-forge
dependencies:
- python>=3.6
- python>=3.7
- sympy>=1.3
- matplotlib>=3
- numpy
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Expand Up @@ -24,13 +24,14 @@
author="Nicolás Guarín-Zapata",
author_email='nicoguarin@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description="Utilities for doing calculations in continuum mechanics.",
install_requires=requirements,
Expand All @@ -44,6 +45,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/nicoguaro/continuum_mechanics',
version='0.2.1',
version='0.2.2',
zip_safe=False,
)
6 changes: 4 additions & 2 deletions tox.ini
@@ -1,10 +1,12 @@
[tox]
envlist = py36, py37, flake8
envlist = py37, py38, py39, flake8

[travis]
python =
3.7: py37
3.6: py36
3.8: py38
3.9: py39


[testenv:flake8]
basepython = python
Expand Down

0 comments on commit 8809aad

Please sign in to comment.