Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jan 13, 2024
1 parent 2e7df60 commit 7625ca9
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: [3.9, 3.10, 3.11, 3.12]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python 3.11.5
poetry 1.7.0
poetry 1.7.1
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"geckodriver.log": true
},
"editor.formatOnSave": true,
"python.defaultInterpreterPath": ".venv/bin/python",
"pylint.args": ["--rcfile=.pylint.ini"],
"cSpell.words": [
"autopage",
"chromedriver",
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mkdocs==1.4.2 ; python_version >= "3.8" and python_version < "4.0"
pygments==2.15.0 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.0.3 ; python_version >= "3.8" and python_version < "4.0"
mkdocs==1.4.2 ; python_version >= "3.9" and python_version < "4.0"
pygments==2.15.0 ; python_version >= "3.9" and python_version < "4.0"
jinja2==3.1.3 ; python_version >= "3.9" and python_version < "4.0"
254 changes: 151 additions & 103 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions pomace/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

@datafile(order=True)
class Locator:

mode: str = field(default="", compare=False)
value: str = field(default="", compare=False)
index: int = field(default=0, compare=False)
Expand Down Expand Up @@ -88,7 +87,6 @@ def _mode(self) -> Mode:

@datafile
class Action:

verb: str = ""
name: str = ""
locators: List[Locator] = field(default_factory=lambda: [Locator()])
Expand Down Expand Up @@ -299,7 +297,6 @@ def clean(self, page, *, force: bool = False) -> int:
"./sites/{self.domain}/{self.path}/{self.variant}.yml", defaults=True, manual=True
)
class Page:

domain: str
path: str = URL.ROOT
variant: str = "default"
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "pomace"
version = "0.12.4"
version = "0.12.5"
description = "Dynamic page objects for browser automation."

license = "MIT"
Expand Down Expand Up @@ -29,17 +29,17 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Topic :: Software Development :: Testing",
]

[tool.poetry.dependencies]

python = "^3.8"
python = "^3.9"

# Interface
cleo = "^2.0"
Expand All @@ -50,20 +50,20 @@ flask-api = "^3.0"
universal-startfile = "*"

# Automation
playwright = { version = "^1.39", markers = "platform_machine != 'armv7l'" }
playwright = { version = "^1.40", markers = "platform_machine != 'armv7l'" }
selenium = "^4.14"
splinter = "^0.19"
splinter = "^0.20.1"
webdriver_manager = "^4.0.1"

# Persistence
datafiles = "^2.2"
datafiles = "^2.2.2"
gitman = "^3.3"
parse = "^1.14"

# Data
faker = ">=15"
faker = ">=22"
zipcodes = "^1.2"
us = "^2.0.2"
us = "^3.1.1"

# Utilities
fake-useragent = "^1.3"
Expand Down

0 comments on commit 7625ca9

Please sign in to comment.