Skip to content

Commit 0c17cae

Browse files
Merge branch 'dev' into dev
2 parents 1c56531 + cd50473 commit 0c17cae

File tree

14 files changed

+650
-531
lines changed

14 files changed

+650
-531
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ workflows:
1111
- test_36
1212
- test_37
1313
- test_38
14+
- test_39
15+
- test_310
1416

1517

1618
jobs:
@@ -67,6 +69,22 @@ jobs:
6769
PYTEST_ADDOPTS: *pytest_default
6870
steps: *step_template
6971

72+
test_39:
73+
docker:
74+
- image: circleci/python:3.9
75+
environment:
76+
TOXENV: py39
77+
PYTEST_ADDOPTS: *pytest_default
78+
steps: *step_template
79+
80+
test_310:
81+
docker:
82+
- image: circleci/python:3.10-rc
83+
environment:
84+
TOXENV: py310
85+
PYTEST_ADDOPTS: *pytest_default
86+
steps: *step_template
87+
7088
mypy:
7189
docker:
7290
- image: circleci/python:3.6

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.4.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-toml
9+
- id: check-builtin-literals
10+
- id: debug-statements
11+
- id: check-added-large-files
12+
- repo: https://github.com/asottile/seed-isort-config
13+
rev: v2.1.1
14+
hooks:
15+
- id: seed-isort-config
16+
# if we don't specify these the seeder will intermittently include
17+
# these as 'known third parties' which messes with our diffs
18+
args: ['--application-directories', './pyppeteer:./tests']
19+
- repo: https://github.com/timothycrosley/isort
20+
rev: 4.3.21
21+
hooks:
22+
- id: isort
23+
additional_dependencies: [toml]
24+
- repo: https://github.com/psf/black
25+
rev: stable
26+
hooks:
27+
- id: black
28+
language_version: python3

CHANGES.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
11
History
22
=======
33

4-
## Version 0.0.26 (next version)
4+
## Version ?.?.? (next version, pup2.1.1 overhaul)
5+
6+
* [populate me]
7+
8+
## Version 0.2.6
9+
10+
* Fix encoding error #226 @aleksei140888
11+
* support websockets 9.0 #252 @mborsetti
12+
* Fix tqdm exception when NO_PROGRESS_BAR is True #224 @
13+
* fix(browser): Clean up coroutine Browser._targetCreated() #271 @H--o-I
14+
15+
## Version 0.2.5
16+
17+
* Match package version and \_\_version__ (🤦‍♂️)
18+
* Use `importlib_metadata` so this isn't a problem in the future
19+
20+
## Version 0.2.4
21+
22+
* Update `pyee` dependency breaking build failures on NixOS + Fedora packaging systems (#207)
23+
24+
## Version 0.2.3
25+
26+
* Hotfix: random freezes from sending stdout to PIPE instead of DEVNULL
27+
* Fix `tests` package being installed for no reason
28+
29+
## Version 0.0.26
530

631
* Add `$PYPPETEER_NO_PROGRESS_BAR` environment variable
732
* `pyppeteer.defaultArgs` now accepts that help infer chromium command-line flags.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributions are welcome as long as they follow core rule of the project:
44

5-
The API of pyppeteer2 should __match the api of puppeteer__[1] as closely as possible withouth sacrificing python too much.
5+
The API of pyppeteer should __match the api of puppeteer__[1] as closely as possible withouth sacrificing python too much.
66
i.e. keep public api keywords such as method names, arguments, class names etc. as they are in puppeteer version.
77

88
Other than that the contributions should remain as pythonic as possible and pass linting and code tests.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ pyppeteer
44
[![PyPI](https://img.shields.io/pypi/v/pyppeteer.svg)](https://pypi.python.org/pypi/pyppeteer)
55
[![PyPI version](https://img.shields.io/pypi/pyversions/pyppeteer.svg)](https://pypi.python.org/pypi/pyppeteer)
66
[![Documentation](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://pyppeteer.github.io/pyppeteer/)
7-
[![CircleCI](https://circleci.com/gh/pyppeteer/pyppeteer.svg?style=shield)](https://circleci.com/gh/circleci/circleci-docs)
7+
[![CircleCI](https://circleci.com/gh/pyppeteer/pyppeteer.svg?style=shield)](https://circleci.com/gh/pyppeteer/pyppeteer)
88
[![codecov](https://codecov.io/gh/pyppeteer/pyppeteer/branch/dev/graph/badge.svg)](https://codecov.io/gh/pyppeteer/pyppeteer)
99

10-
_Note: this is a continuation of the [pyppeteer project](https://github.com/miyakogi/pyppeteer)_
10+
_Note: this is a continuation of the [pyppeteer project](https://github.com/miyakogi/pyppeteer)_. Before undertaking any sort of developement, it is highly recommended that you take a look at [#16](https://github.com/pyppeteer/pyppeteer/pull/16) for the ongoing effort to update this library to avoid duplicating efforts.
1111

1212
Unofficial Python port of [puppeteer](https://github.com/GoogleChrome/puppeteer) JavaScript (headless) chrome/chromium browser automation library.
1313

@@ -34,7 +34,7 @@ pip install -U git+https://github.com/pyppeteer/pyppeteer@dev
3434

3535
> **Note**: When you run pyppeteer for the first time, it downloads the latest version of Chromium (~150MB) if it is not found on your system. If you don't prefer this behavior, ensure that a suitable Chrome binary is installed. One way to do this is to run `pyppeteer-install` command before prior to using this library.
3636
37-
Full documentation can be found [here](https://pyppeteer.github.io/pyppeteer/reference.html). [Puppeteer's documentation](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#) and [its troubleshooting guide](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md) are also great resources for puppeteer2 users.
37+
Full documentation can be found [here](https://pyppeteer.github.io/pyppeteer/reference.html). [Puppeteer's documentation](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#) and [its troubleshooting guide](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md) are also great resources for pyppeteer users.
3838

3939
### Examples
4040

0 commit comments

Comments
 (0)