Commit Graph

52 Commits

Author SHA1 Message Date
Roman Mogylatov
c6e7551e87 Bump version to 4.1.2 2020-10-27 13:28:02 -04:00
Roman Mogylatov
2e940adb50
Typing stubs (#286)
* Add basic setup

* Add more tests for factory

* Add mypy checks to CI

* Add mypy checks to makefile command

* Add typing for the factories

* Add stub for Callable providers

* Add typing module and object provider stubs

* Fix typing test issue

* Remove typing module

* Add Delegate stub

* Add stub for Dependency provider

* Add stub for ExternalDependency

* Add stubs for providers module functions

* Add stubs for the DependenciesContainer provider

* Add stub for the CallableDelegate provider

* Add stubs for Coroutine providers

* Add stubs for the configuration options

* Add stub for the FactoryDelegate

* Add stub for the FactoryAggregate provider

* Add singleton stubs

* Add stubs for singletons

* Add stub for the List provider

* Add stub for the Container provider

* Add stub for the Selector provider

* Add stubs for the dynamic container

* Add stub for the declarative container

* Add stubs for the extensions

* Add types module for explicit provider typing

* Set absolute import mode for the providers module and add types module test

* Skip typing test for Python 3.5

* Remove coroutine test from py35

* Fix py35 tests

* Add \n to the tox.ini
2020-08-26 22:24:20 -04:00
Roman Mogylatov
e0d81c2d28
Aiohttp integration (#270)
* Add aiohttp extension module

* Add giphynav-aiohttp app

* Add missing docstrings

* Remove print() call

* Remove not needed import from flask extension tests

* Improve coroutine provider tests

* Add aiohttp extension tests

* Update tox.ini

* Add aiohttp extras

* Try fix Python 3.4 tests

* Try fix 3.6 tests

* Stop running coroutine tests for Python 3.4

* Rename tests

* Remove type hints

* Fix pypy and change python version for coverage job to 3.8

* Fix coveralls job

* Try fix Python 3.4, 3.5 tests

* Make coverage job to run 3.5+ tests

* Add tests

* Add readme

* Update the readmes

* Add API docs

* Add API docs page

* Update changelog
2020-07-28 19:19:05 -04:00
Roman Mogylatov
0da9f2c6b5 Update travis config to publish to real pypi 2020-07-01 23:18:41 -04:00
Roman Mogylatov
4a82aa18c3
Wheels (#260)
* Update .travis.yml

* Update .travis.yml

* Add cibuildwheel jobs

* Point twine to testpypi

* Add test suffix to version

* Try to fix windows builds

* Change version to 3.19.0.a2

* Remove build dependencies from dev requirements

* Add condition to trigger build on tags

* Bump version to 3.19.0a3

* Target sdist job to publish to testpypi

* Upgrade travis config

* Bump version to 3.19.0a4

* Return version

* Update changelog

* Update makefile
2020-07-01 23:16:38 -04:00
Roman Mogylatov
18bac2b1d6 Fix travis config warnings 2020-06-30 17:31:01 -04:00
Roman Mogylatov
f84daf6467 Add default os and dist to travis config 2020-06-30 17:04:47 -04:00
Roman Mogylatov
dfe61826b0 Rename matrix to jobs at travis config 2020-06-30 17:02:54 -04:00
Roman Mogylatov
0126fdb522 Remove sudo from travis config 2020-06-30 17:01:52 -04:00
Roman Mogylatov
f8b78443f9 Encrypt slack token at travis config 2020-06-30 17:00:23 -04:00
Roman Mogylatov
5c1174fad6
PyPy 3 support (#242)
* Add PyPy 3 to travis file

* Add record to changelog
2020-01-26 15:10:51 -05:00
Roman Mogylatov
953f93631b
Python 3.8 support (#241)
* Add Python 3.8 test environment

* Add Python 3.8 classifier

* Update max compatible version of six to 1.13.0

* Update max compatible version of six to 1.14.0

* Add record to the changelog
2020-01-26 15:00:21 -05:00
Roman Mogylatov
9a785de4b5
Coroutine provider (#206)
* Add coroutine provider examples

* Add coroutine provier

* Update changelog

* Update static analysis travis jobs to python 3.7

* Update coroutine provider implementation for python 3.4

* Update static analysis travis jobs to python 3.6

* Make pycode style happy

* Add tests for coroutine providers

* Make coroutine tests python 2 syntax friendly

* Split tests to python2 and python3

* Refactor coroutine provider tests

* Modify pypy tests running command

* Update coroutine provider docs
2018-10-18 19:39:19 +03:00
Roman Mogylatov
d90b794568 Add python 3.7 support 2018-08-17 00:13:41 +03:00
Roman Mogylatov
4cdc5bce56 Drop python 2.6 and 3.3 support 2018-08-17 00:06:20 +03:00
Roman Mogylatov
e13d3b4271 Try remove py3 - virtualenv16 incompatibility fix 2018-08-17 00:01:26 +03:00
Roman Mogylatov
926d152d3b Fix incompatibility issue between pip10 and virtualenv16 (travis) 2018-06-22 10:22:55 +03:00
Roman Mogylatov
5fb7f93f23 Add slack notifications for travis jobs 2017-11-27 19:31:23 +02:00
Roman Mogilatov
c85b56fd62 Update travis config to re-cythonize code only for coveralls job 2017-03-29 00:39:09 +03:00
Roman Mogilatov
0373756eba Remove cythonization from travis building process 2017-03-29 00:20:13 +03:00
Roman Mogilatov
4988760ca3 Update travis config with matrix 2017-01-30 00:02:20 +02:00
Roman Mogilatov
1edce9a59d Add python 3.6 and pypy3 to the list of test envs 2017-01-29 23:43:10 +02:00
Roman Mogilatov
7f308cbf41 Temporary disable pypy3 cause of pip installation failures 2016-11-17 23:44:19 +02:00
Roman Mogilatov
e3408075de Update repository structure 2016-11-02 22:58:30 +02:00
Roman Mogilatov
49a2061cc5 Try cythonize vs build 2016-11-02 19:56:07 +02:00
Roman Mogilatov
cd1df0ad83 Try build vs cythonize 2016-11-02 19:38:41 +02:00
Roman Mogilatov
b72488154a Attempt x 2016-11-02 19:28:11 +02:00
Roman Mogilatov
1a9dd6cca7 One more attempt... 2016-11-02 19:16:55 +02:00
Roman Mogilatov
6a1e058bdb Move tests on all version to single job 2016-11-02 19:05:44 +02:00
Roman Mogilatov
4d82935d1d Make tox produce verbose output 2016-11-02 18:32:16 +02:00
Roman Mogilatov
3bd19a168a Tune building in debug mode 2016-11-02 18:11:50 +02:00
Roman Mogilatov
d8f44948a4 Update travis config to create debug builds only for coverage 2016-11-02 12:52:08 +02:00
Roman Mogilatov
e5498f214b Add creation of debug builds 2016-11-01 10:49:44 +02:00
Roman Mogilatov
02b993ec54 Add cython->c compilation command to .travis.yml 2016-10-31 12:51:06 +02:00
Roman Mogilatov
71b820487e Replace pep257 with pydocstyle 2016-02-28 16:01:20 +02:00
Roman Mogilatov
449a67eede 1.14.0 Drop support of Python 3.2 2016-01-25 15:07:11 +02:00
Roman Mogilatov
4237184767 Add py35 to TOXENVs 2015-10-12 18:13:54 +03:00
Roman Mogilatov
624e1cef63 Add travis env variable for running tests on py35 2015-10-12 17:48:12 +03:00
Roman Mogilatov
fd5aa5cb5a Revert "Add tests run on Python 3.5"
This reverts commit d8b4be55a6.
2015-09-21 17:57:14 +03:00
Roman Mogilatov
d8b4be55a6 Add tests run on Python 3.5 2015-09-21 17:50:09 +03:00
Roman Mogilatov
8d896e7272 Run tests on pypy and pypy3 2015-03-26 16:56:49 +02:00
Roman Mogilatov
233dedbcff Adding py 33, 34 to tox and travis 2015-03-26 01:15:41 +02:00
Roman Mogilatov
bac0bd499c adding .travis py32 env 2015-03-26 00:30:08 +02:00
Roman Mogilatov
0726a7c253 Setting of exact python versions for tox environments, remove travis python environments 2015-03-18 19:05:31 +02:00
Roman Mogilatov
b93bb61e28 Adding python versions in travis config 2015-03-18 18:58:29 +02:00
Roman Mogilatov
83f9845f59 Add PyLint, flake8 and pep257 configs to tox and travis 2015-03-18 15:53:08 +02:00
Roman Mogilatov
c2bd37ce45 Fix of name error with coveralls job in travis 2015-03-18 15:20:59 +02:00
Roman Mogilatov
8fd471dd39 updating travis and tox configs 2015-03-18 14:50:45 +02:00
Roman Mogilatov
c1d6127e64 updating tox and travis configs 2015-03-18 00:38:54 +02:00
Roman
11493d1a24 Update .travis.yml 2015-03-17 17:23:21 +02:00