Skip to content

Commit

Permalink
fix(deps): Make a explicit dependency on python-dateutil (#2076)
Browse files Browse the repository at this point in the history
fix(deps): Make a explicit dependeny on `python-dateutil`

Currently we have a _transitive_ dependency on
[`python-dateutil`](https://github.com/dateutil/dateutil) via [`pendulum`](https://github.com/sdispater/pendulum).

We actually rely on direct calls to its API, so it's better to list it
as an explicit dependency to allow breaking stuff if we ever remove the
dependency on Pendulum.
  • Loading branch information
edgarrmondragon authored Nov 29, 2023
1 parent 34027f9 commit d6c9ef0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ scopes:
- mappers # mappers only
- templates # cookiecutters
- deps # production dependencies
- deps-dev # development depencencies (testing, linting, etc.)
- deps-dev # development dependencies (testing, linting, etc.)
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ license = "Apache-2.0"
"Youtube" = "https://www.youtube.com/meltano"

[tool.poetry.dependencies]
python = ">=3.7.1,<4"
backoff = ">=2.0.0"
python = ">=3.7.1"
backoff = { version = ">=2.0.0", python = "<4" }
backports-datetime-fromisoformat = { version = ">=2.0.1", python = "<3.11" }
click = "~=8.0"
cryptography = ">=3.4.6,<42.0.0"
Expand All @@ -53,10 +53,11 @@ jsonschema = [
{ version = ">=4.16.0,<4.18", python = "<3.8" },
{ version = ">=4.16.0", python = ">=3.8" },
]
memoization = ">=0.3.2,<0.5.0"
memoization = { version = ">=0.3.2,<0.5.0", python = "<4" }
packaging = ">=23.1"
pendulum = ">=2.1.0"
PyJWT = "~=2.4"
python-dateutil = "^2.8.2"
python-dotenv = ">=0.20,<0.22"
pytz = ">=2022.2.1,<2024.0.0"
PyYAML = ">=6.0"
Expand Down

0 comments on commit d6c9ef0

Please sign in to comment.