Roman Mogylatov
3375436eb3
Remove Python 3.13 builds from the publishing job
2024-08-07 21:21:36 -04:00
Roman Mogylatov
fec2b08210
Merge branch 'release/4.42.0b1' into master
2024-08-07 21:04:56 -04:00
Roman Mogylatov
8a44027f3d
Update cibuildwheel to version 2.20.0
2024-08-07 21:04:37 -04:00
Roman Mogylatov
f56453f59f
Merge branch 'release/4.42.0b1' into master
2024-08-07 20:51:40 -04:00
Roman Mogylatov
1b9e079524
Add explicit setuptools installation to the publishing job
2024-08-07 20:48:41 -04:00
Roman Mogylatov
b1a3a69428
Merge branch 'release/4.42.0b1' into master
2024-08-06 22:52:17 -04:00
Roman Mogylatov
a8b54423dc
Update version to 4.42.0b1
2024-08-06 22:51:59 -04:00
Roman Mogylatov
3e56fef461
Update version to 4.42.0b
2024-08-06 22:45:40 -04:00
Roman Mogylatov
5d1e5ee485
Update the year in the licensing file
2024-08-06 22:45:21 -04:00
Roman Mogylatov
f7c6cb2647
Add Anton Petrov to CONTRIBUTORS.rst
2024-08-06 22:44:57 -04:00
Roman Mogylatov
a5166bf591
Add Python 3.12 Support ( #752 ) ( #765 )
...
* Add Python 3.12 Support (#752 )
* Ignore .vscode
* Python 3.12 Support
* Change base python to 3.12 and pin pydantic to V1
* all tests passed
* ci: change default python to 3.12
* remove legacy python versions
* annotate pydantic models for tests
* Update publishing pipeline to use Python 3.12
* Test environment updates
* Update Cython to the latest prior 3.0 version and remove tracing from CI/CD
* Give up using editable tox installation in the coverage job
* Add mypy test fixes
* Remove tracing from the coverage job
* Fix typing test
* Remove PyPy 2.7
* Fix typing test
* Fix the typing issue with pydantic
* Remove pypy 3.9
* Fix the typing issue with mypy
* Update pydantic version to the latest from 1.x
* Update scipy deprecation warning filter
* Fix the tox job running coveralls
* Update changelog
---------
Co-authored-by: Anton Petrov <anton.a.petrov@gmail.com>
2024-08-06 22:41:24 -04:00
Roman Mogylatov
98d5867743
Add a link to my profile ( #806 )
2024-08-06 21:28:50 -04:00
Roman Mogylatov
68da747ce0
Add a link to my profile ( #806 )
2024-08-06 21:27:23 -04:00
Roman Mogylatov
cc2304e46e
Merge branch 'release/4.41.0' into master
2022-12-18 22:14:24 -05:00
Roman Mogylatov
4bfdf89142
Bump version
2022-12-18 22:14:00 -05:00
Roman Mogylatov
659d242503
Update builds badge
2022-12-18 22:12:38 -05:00
Roman Mogylatov
6b13b6dbaf
Update line length to 120
2022-12-18 22:04:03 -05:00
Roman Mogylatov
d3320f5f06
Fix typing in wiring
2022-12-18 22:02:11 -05:00
Roman Mogylatov
31c1f7c2d6
Update setup.py
2022-12-18 21:59:31 -05:00
Roman Mogylatov
d0c8f328b3
Update changelog
2022-12-18 21:52:32 -05:00
Jamie Stumme
3b76a0d091
Allow Closing
to detect dependent resources ( #636 )
2022-12-18 21:49:23 -05:00
Roman Mogylatov
a79ea1790c
Update custom provider docs formatting
2022-12-18 21:43:02 -05:00
Kirill Shershen
781d3b9c4c
fixed bug in windows build with default charset ( #635 )
...
Co-authored-by: kirill-shershen <kirill.shershen@alao.ch>
2022-12-18 21:42:23 -05:00
thatguysimon
6f491a6cae
Explicitly mention the required usage of "memo" ( #598 )
2022-12-18 21:38:12 -05:00
Roman Mogylatov
88a2b96102
Update FastAPI + Redis example
2022-12-18 21:35:43 -05:00
Yan
f0d9eda566
Update aioredis to 2.0.1 ( #613 )
...
* Update aioredis to 2.0.1
* Rearranged aioredis.from_url parameters
2022-12-18 21:27:36 -05:00
Roman Mogylatov
55f81bd754
Update changelog
2022-12-18 21:25:16 -05:00
Eugene Brodsky
a9cd0de886
(setup) fix install crash on non-utf8 systems ( #644 )
...
fixes https://github.com/ets-labs/python-dependency-injector/issues/643
2022-12-18 21:23:24 -05:00
Roman Mogylatov
aaff333f01
Python 3.11 Support ( #647 )
...
* Update tests
* Enable tests on 3.11
* Fix coverage config in tox.ini
* feat: re cythonize to support python 3.11 (#646 )
* feat: re cythonize to support python 3.11
* misc: added tox env for python 3.11
* misc: add classifiers for python 3.11
* fix: skip tests for removed functions
* misc: CI updates for python 3.11
Co-authored-by: Roman Mogylatov <rmogilatov@gmail.com>
* Update tests and linters job
* Update test skip decorators
* Fix tox.ini
* Update 3.10 to be explicit string literal
* Move pypy3 to legacy job
* Fix error in resourse typing test
* Update publishing job
* Update actions and setup-python versions
* Update changelog
* Update pypy
* Update tox.ini with new pypy versions
* Update publishing job
* Update actions/upload-artifact@v3
* Update ubuntu to 22.04 on docs publishing job
* Update actions/download-artifact@v3 and pypa/gh-action-pypi-publish@release/v1
Co-authored-by: Gen Xu <xgbarry@gmail.com>
2022-12-18 21:09:14 -05:00
Roman Mogylatov
3858cef657
Merge branch 'release/4.40.0' into master
2022-08-03 21:20:52 -04:00
Roman Mogylatov
8cf86826eb
Bump version to 4.40.0
2022-08-03 21:20:38 -04:00
Roman Mogylatov
6f859e4aa2
( #454 ) ( #597 ) Fix @inject + @wraps, refactor patched callables registry and injections storage principles ( #610 )
...
* Refactor patched callables registry and injections storage principles
* Rename properties of PatchedRegistry
* Add typing improvements in wiring module
* Add __slots__ for PatchedAttribute
* Minor code style fixes
* Add test
* Rename test
* Update typing in test
* Make minor style fixes to test
* Update changelog
* Add documentation on the @inject decorator
2022-07-26 21:37:15 -04:00
Roman Mogylatov
0668295543
Fix code layout in tests/unit/schema/test_integration_py36.py
2022-07-19 20:33:43 -04:00
Roman Mogylatov
142b91921a
Upgrade Cython to 0.29.30 ( #605 )
2022-07-10 21:23:25 -04:00
Roman Mogylatov
753e863d02
Add `Configuration.from_json()
` method ( #602 )
...
* Add implementation and tests
* Refactor naming in configuration fixtures
* Add typing for .from_json()
* Move get/set_ini_files() methods upper
* Add init implementation and tests
* Refactor typing tests
* Add examples
* Add docs
* Update docs index and readme
* Update changelog
2022-07-10 21:08:45 -04:00
Roman Mogylatov
14b5ddae4f
Update pytest configuration
2022-07-02 15:11:25 -04:00
Roman Mogylatov
bf356ec565
Update wording in introduction docs
2022-04-17 10:55:17 -04:00
Roman Mogylatov
9bc11a7828
Improve wording in docs
2022-04-16 22:29:19 -04:00
Roman Mogylatov
a0bb7c4ede
Update changelog
2022-04-16 21:46:01 -04:00
Roman Mogylatov
450407bf7a
Update year 2021 -> 2022
2022-04-16 21:39:47 -04:00
Roman Mogylatov
4666a15092
Update copyright year
2022-04-16 21:35:03 -04:00
Illia Volochii
daca85d555
Fix a few issues in the introduction ( #580 )
...
* Fix a statement about coupling and cohesion that is not always true
https://enterprisecraftsmanship.com/posts/cohesion-coupling-difference/#_types_of_code_from_a_cohesion_and_coupling_perspective
* Fix a typing issue in an example
`ApiClient` expects timeout to be an integer (based on a type hint), but `os.getenv` returns a string when `TIMEOUT` is set.
* Specify the `None` return type where it is missed
* Fix typing issues in some other places
* Edit a statement about coupling and cohesion
Co-authored-by: Roman Mogylatov <rmogilatov@gmail.com>
Co-authored-by: Roman Mogylatov <rmogilatov@gmail.com>
2022-04-16 21:29:35 -04:00
Roman Mogylatov
20bf3c0a01
Pin jinja2
2022-03-30 00:14:25 -04:00
Roman Mogylatov
4188f721d6
Merge branch 'release/4.39.1' into master
2022-03-29 22:52:00 -04:00
Roman Mogylatov
cfed30cf07
Hotfix issue #574 , bump version to 4.39.1
2022-03-29 22:51:40 -04:00
Roman Mogylatov
13cae77d57
Fix docs publishing error "The unauthenticated git protocol on port 9418 is no longer supported."
2022-03-28 00:33:48 -04:00
Roman Mogylatov
8b0745d43e
Merge branch 'release/4.39.0' into master
2022-03-27 22:22:02 -04:00
Roman Mogylatov
93c8cbc83b
Bump version to 4.39.0
2022-03-27 22:21:51 -04:00
Roman Mogylatov
77b5cdebd3
Optimization r1 ( #571 )
...
* Add isfuture() and iscoroutine() optimization
* Apply async mode optimization
* Wiring changes
* Add optimization for wiring of async coroutines
* Remove unused imports
* Update changelog
* Refactor async mode checks
2022-03-27 22:20:05 -04:00
Roman Mogylatov
f0c55cda22
Fix a typo
2022-03-27 14:23:35 -04:00