Commit Graph

27 Commits

Author SHA1 Message Date
Roman Mogylatov
d4ebb1b786
Remove unittest2 (#419)
* Remove unittest2 framework

* Skip a couple of tests on Python 2.7

* Update changelog
2021-03-05 20:17:28 -05:00
Roman Mogylatov
288284aa9c Make "make test" to be a default test command and run Python 3 tests 2021-02-05 08:36:36 -05: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
3a61457be7
Asyncio daemon tutorial (#278)
* Fix a typo in the docblock of the Configuration provider

* Update the changelog

* Add tutorial sections

* Switch to use https for httpbin.org requests

* Add what we are going to build section

* Fix ``Makefile`` to run ``aiohttp`` integration tests on Python 3.5+

* Add prerequisities and prepare the env sections

* Add logging, config and the dispacher sections

* Change logging

* Fix multiple typos in the ``flask`` and ``aiohttp`` tutorials

* Add the initial and dirty version

* Fix multiple typos in the ``flask`` and ``aiohttp`` tutorials

* Fix the 3.27.0 changelog

* Finish all the parts before the dispatcher

* Finish dispatcher section

* Update http monitor logging format

* Finish the tutorial

* Fix docblock in the dispatcher module

* Update changelog

* Add meta keywords and description
2020-08-08 14:48:05 -04:00
Roman Mogylatov
5e84f3145e Update makefile 2020-07-01 23:20:28 -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
8681500236
Start using twine for dist uploading to PyPI (#259) 2020-06-30 16:40:30 -04:00
Roman Mogylatov
f176b02045 Add flake8 config 2020-06-25 18:01:15 -04:00
Roman Mogylatov
29243ccdda Fix make docs-live 2020-06-16 21:39:11 -04:00
Roman Mogylatov
b6f6f63764 Add docs-live command to makefile 2020-06-14 17:35:25 -04:00
Roman Mogylatov
dc85b2e981 Set Cython language_level=2 2018-11-08 23:12:50 +02: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 Mogilatov
a057176ae6 Update makefile 2017-06-09 01:54:46 +03:00
Roman Mogilatov
67745f8b88 Update makefile 2017-06-09 01:50:09 +03:00
Roman Mogilatov
928aaa12b6 Update makefile 2017-06-09 01:45:12 +03:00
Roman Mogilatov
b4541bf177 Add .h files to gitignore 2016-11-11 17:35:58 +02:00
Roman Mogilatov
82bd1ae843 Clean up 2016-11-03 00:56:30 +02:00
Roman Mogilatov
aac72ed3a3 Clean up and final fixes 2016-11-02 23:55:14 +02:00
Roman Mogilatov
0421ae2d87 Clean up, changelog update 2016-11-02 23:17:50 +02:00
Roman Mogilatov
e3408075de Update repository structure 2016-11-02 22:58:30 +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
3bd19a168a Tune building in debug mode 2016-11-02 18:11:50 +02:00
Roman Mogilatov
e5498f214b Add creation of debug builds 2016-11-01 10:49:44 +02:00
Roman Mogilatov
d594f8018a Add build command to makefile 2016-10-31 11:30:57 +02:00
Roman Mogilatov
cad0a84946 Add clean & tests commands to makefile 2016-10-30 23:59:42 +02:00
Roman Mogilatov
741af3e67e Add makefile with publish command 2016-10-30 14:41:33 +02:00