Skip to content

Commit e84eddd

Browse files
authored
Merge pull request #3 from runemalm/feature/fix-packaging-issue
Fix packaging issue.
2 parents 33ae0b8 + a45c56d commit e84eddd

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ To contribute, create a pull request on the develop branch following the [git fl
146146

147147
## Release Notes
148148

149+
### [1.0.0-alpha.5](https://github.com/runemalm/py-dependency-injection/releases/tag/v1.0.0-alpha.5) (2024-03-03)
150+
151+
- **Critical Package Integrity Fix**: This release addresses a critical issue that affected the packaging of the Python library in all previous alpha releases (1.0.0-alpha.1 to 1.0.0-alpha.4). The problem involved missing source files in the distribution, rendering the library incomplete and non-functional.
152+
153+
**Action Required:** Users are strongly advised to upgrade to version 1.0.0-alpha.5 to ensure the correct functioning of the library. All previous alpha releases are affected by this issue.
154+
155+
**Note:** No functional changes or new features have been introduced in this release, and its primary purpose is to rectify the consistent packaging problem.
156+
157+
For installation and upgrade instructions, please refer to the [Installation](#installation) section in the README.
158+
149159
### [1.0.0-alpha.4](https://github.com/runemalm/py-dependency-injection/releases/tag/v1.0.0-alpha.4) (2024-03-02)
150160

151161
- **New Feature**: Support for constructor arguments in dependency registration: In this release, we introduce the ability to specify constructor arguments when registering dependencies with the container. This feature provides more flexibility when configuring dependencies, allowing users to customize the instantiation of classes during registration.

docs/versionhistory.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
Version history
33
###############
44

5+
**1.0.0-alpha.5 (2024-03-03)**
6+
7+
- **Critical Package Integrity Fix**: This release addresses a critical issue that affected the packaging of the Python library in all previous alpha releases (1.0.0-alpha.1 to 1.0.0-alpha.4). The problem involved missing source files in the distribution, rendering the library incomplete and non-functional.
8+
9+
**Action Required:** Users are strongly advised to upgrade to version 1.0.0-alpha.5 to ensure the correct functioning of the library. All previous alpha releases are affected by this issue.
10+
11+
**Note:** No functional changes or new features have been introduced in this release, and its primary purpose is to rectify the consistent packaging problem.
12+
13+
For installation and upgrade instructions, please refer to the Installation section in the README.
14+
15+
`View release on GitHub <https://github.com/runemalm/py-dependency-injection/releases/tag/v1.0.0-alpha.5>`_
16+
517
**1.0.0-alpha.4 (2024-03-02)**
618

719
- **New Feature**: Support for constructor arguments in dependency registration: In this release, we introduce the ability to specify constructor arguments when registering dependencies with the container. This feature provides more flexibility when configuring dependencies, allowing users to customize the instantiation of classes during registration.

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66

77
setup(
88
name='py-dependency-injection',
9-
version='1.0.0-alpha.4',
9+
version='1.0.0-alpha.5',
1010
author='David Runemalm, 2024',
1111
author_email='david.runemalm@gmail.com',
1212
description=
13-
'A simple dependency injection library for python.',
13+
'A dependency injection library for Python.',
1414
long_description=long_description,
1515
long_description_content_type="text/markdown",
1616
url='https://github.com/runemalm/py-dependency-injection',
1717
project_urls={
1818
"Documentation": "https://py-dependency-injection.readthedocs.io/en/latest/",
1919
"Bug Tracker": "https://github.com/runemalm/py-dependency-injection/issues",
2020
},
21-
package_dir={'': '.'},
22-
packages=find_packages(
23-
where='.',
24-
include=['dependency_injection*',],
25-
exclude=['tests*',]
21+
package_dir={'': 'src'},
22+
packages = find_packages(
23+
where = 'src',
24+
include = ['dependency_injection*', ],
25+
exclude = ['tests*', ]
2626
),
2727
license='GNU General Public License v3.0',
2828
install_requires=[

0 commit comments

Comments
 (0)