Skip to content

Commit

Permalink
Merge pull request #160 from jacebrowning/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
jacebrowning committed Jan 13, 2024
2 parents 2e7df60 + 8237351 commit 0c91405
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
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"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
@@ -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
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
@@ -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
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
15 changes: 7 additions & 8 deletions pyproject.toml
@@ -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,7 +29,6 @@ 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",
Expand All @@ -39,7 +38,7 @@ classifiers = [

[tool.poetry.dependencies]

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

# Interface
cleo = "^2.0"
Expand All @@ -50,20 +49,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 0c91405

Please sign in to comment.