Roman Mogylatov
de33c16031
Update scipy deprecation warning filter
2024-08-06 22:16:41 -04:00
Roman Mogylatov
7de944328d
Update pydantic version to the latest from 1.x
2024-08-06 22:01:20 -04:00
Roman Mogylatov
8e1e62064e
Fix the typing issue with mypy
2024-08-06 21:40:25 -04:00
Roman Mogylatov
1d7bb96e4c
Remove pypy 3.9
2024-08-06 21:40:24 -04:00
Roman Mogylatov
adf7ad968f
Fix the typing issue with pydantic
2024-08-06 21:40:24 -04:00
Roman Mogylatov
617cfe0eb8
Fix typing test
2024-08-06 21:40:24 -04:00
Roman Mogylatov
19b21a4a84
Remove PyPy 2.7
2024-08-06 21:40:24 -04:00
Roman Mogylatov
a05d61f341
Fix typing test
2024-08-06 21:40:24 -04:00
Roman Mogylatov
b9004a25d0
Remove tracing from the coverage job
2024-08-06 21:40:24 -04:00
Roman Mogylatov
93505331a9
Add mypy test fixes
2024-08-06 21:40:24 -04:00
Roman Mogylatov
ae6bfb0c92
Give up using editable tox installation in the coverage job
2024-08-06 21:40:24 -04:00
Roman Mogylatov
962b576561
Update Cython to the latest prior 3.0 version and remove tracing from CI/CD
2024-08-06 21:40:24 -04:00
Roman Mogylatov
fa8b56a24b
Test environment updates
2024-08-06 21:40:24 -04:00
Roman Mogylatov
68e587c768
Update publishing pipeline to use Python 3.12
2024-08-06 21:40:24 -04:00
Anton Petrov
5ffffe7d35
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
2024-08-06 21:40:24 -04:00
Roman Mogylatov
98d5867743
Add a link to my profile ( #806 )
2024-08-06 21:28:50 -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