Skip to content

Commit

Permalink
Update pendulum version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Oct 18, 2024
1 parent 4671816 commit 9cdf560
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inflection==0.3.1
psycopg2-binary
pyodbc
pendulum>=2.1,<2.2
pendulum>=3.0,<=3.1
cleo>=0.8.0,<0.9
python-dotenv==0.14.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
"inflection>=0.3,<0.6",
"pendulum>=2.1,<2.2",
"ppendulum>=3.0,<=3.1",
"faker>=4.1.0,<14.0",
"cleo>=0.8.0,<0.9",
],
Expand Down
4 changes: 2 additions & 2 deletions tests/models/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def test_only_method(self):
{"id": 1, "username": "joe", "name": "Joe", "admin": True}
)

self.assertEquals({"username": "joe"}, model.only("username"))
self.assertEquals({"username": "joe"}, model.only(["username"]))
self.assertEqual({"username": "joe"}, model.only("username"))
self.assertEqual({"username": "joe"}, model.only(["username"]))

def test_model_update_without_changes_at_all(self):
model = ModelTest.hydrate(
Expand Down

0 comments on commit 9cdf560

Please sign in to comment.