1
mirror of https://github.com/streamlink/streamlink synced 2024-10-30 23:16:39 +01:00
Commit Graph

136 Commits

Author SHA1 Message Date
bastimeyer
c29d58a00f ci: install custom lxml wheel on cp311 win-amd64
Install temporary custom lxml wheel on Windows built in an external
repo, as official wheels are missing for Python 3.11. Building it
from source requires building libxml2 and libxslt first and patching
the wheel build config, which is slow and tedious.
2022-09-08 10:31:21 -07:00
bastimeyer
e3e3f118e5 plugin.api: add update-user-agents script
Add script for automatically updating user agents from the
whatismybrowser.com JSON API, and add thank-you note to the docs
2022-06-14 15:40:29 +02:00
bastimeyer
888ad665c6 ci: update deploy-docs script
- Replace SSH key with new streamlinkbot PAT
- Update and refactor deploy-docs.sh
- Update CI workflow
2022-06-13 22:49:48 -07:00
bastimeyer
b77cf7883e script: rename github release script 2022-05-07 12:20:56 +02:00
bastimeyer
5249900b3e script: rewrite github release script
- Completely rewrite GitHub release script
  - Remove --dry-run and make it implicit when no API key is set
  - Remove --api-key and read from RELEASES_API_KEY or GITHUB_TOKEN
  - Add --template, --changelog, --no-contributors and --no-shortlog
  - Refactor GitHub API stuff
  - Update release template logic and use Jinja2
  - Get list of contributors (with support for commit co-authors):
    GitHub highlights usernames in releases, which this is meant for
  - Generate git shortlog automatically
  - Always close open file handles
- Update release template based on Jinja2 logic
- Update release CI job
  - Install Jinja2
  - Upgrade Python to 3.10 and setup-python to v2
  - Fetch entire repo
  - Don't upload wheels to GitHub releases
2022-05-07 12:20:56 +02:00
bastimeyer
2dd2f35930 installer: drop Windows installer build config
Drop installer build config in favor of the external build config at:
https://github.com/streamlink/windows-installer

- remove installer build scripts+configs
- remove Streamlink config file in win32 subdirectory
- remove windows-installer CI job
  - update steps of the release CI job
- remove removed-plugins file
  - remove src/streamlink/plugins/.removed
  - update package manifest
  - update tests
  - update developing docs
- rewrite install docs
2022-04-03 22:09:35 +02:00
bastimeyer
3762fe892d chore: remove unneeded release script 2022-03-28 10:51:39 -07:00
bastimeyer
c3945a7712 installer: bump python to 3.9.11 2022-03-17 17:01:13 +01:00
bastimeyer
88a40cfff5 installer: update wheels to latest versions 2022-02-14 11:05:55 +01:00
bastimeyer
8e5398cbfd installer: upgrade python from 3.9.8 to 3.9.10 2022-02-03 09:37:24 -08:00
bastimeyer
b19458c7be installer: rewrite wheels config, fix pycountry 2021-11-17 15:28:03 +01:00
bastimeyer
2eb9689fac setup: include shell completions in sdist
- move build directory of the shell completions from /build/shtab to
  /completions due to an sdist restriction of setuptools and MANIFEST.in
- recursively include the /completions directory in MANIFEST.in
- update data_files path in setup.py (for inclusion in wheels)
- update .gitignore
2021-11-15 18:53:58 +01:00
bastimeyer
3d5aa45583 installer: upgrade python from 3.9.7 to 3.9.8 2021-11-15 18:53:46 +01:00
bastimeyer
aabd6af718 setup: drop iso-639/iso3166, default to pycountry
- drop iso-639 and iso3166 dependencies in favor of pycountry
- remove the `STREAMLINK_USE_PYCOUNTRY` env var switch from setup.py
- move dependencies list from setup.py to setup.cfg
- update utils.l10n and its tests
- update Windows installer config
- update docs
2021-11-14 11:42:36 -08:00
bastimeyer
a7063e1d70 stream: remove RTMP and RTMPDump dependency
- drop RTMP stream implementation
- drop RTMP plugin
- drop RTMPDump dependency
- remove stream.streamprocess and utils.{rtmp,swf}
- remove "rtmp" from default stream types list
- remove "rtmp" from player-passthrough options list
- remove all `--rtmp*` CLI args and `rtmp-*` session options
- remove all `--subprocess-*` CLI args and `subprocess` session options,
  as these were used only by StreamProcess which is no longer needed
- update tests
- update docs and CLI argument help texts
2021-11-13 13:24:25 +01:00
bastimeyer
46817a1cff streams: remove HDS/AkamaiHD and flashmedia pkg
- drop HDS and AkamaiHD stream implementations
- drop HDS and AkamaiHD plugins
- drop streamlink.packages.flashmedia
- remove stream.flvconcat, stream.playlist and plugins.common_swf
- remove "hds" from default stream types list
- remove all `--hds-*` CLI arguments and `hds-*` session options
- remove unneeded flashmedia license text files
- update tests
- update docs and CLI argument help texts
2021-11-12 20:09:53 +01:00
bastimeyer
afc79abb67 installer: bump lxml to 4.6.4 2021-11-04 09:52:38 -07:00
bastimeyer
6cad2faf1f vendor: bump lxml to >4.6.4,<5.0
And remove the compat wheel installs on Windows for the CI runners, as
lxml 4.6.4 has fixed the missing python 3.10 wheels
https://pypi.org/project/lxml/4.6.4/#files
2021-11-02 20:28:45 -07:00
bastimeyer
bf269e211a installer: bump ffmpeg to n4.4.1 2021-10-30 11:24:53 -07:00
bastimeyer
94946df825 script: fix update-removed-plugins bash script 2021-10-06 17:37:18 -07:00
bastimeyer
1549c41752 build: include bash and zsh completions in wheels 2021-09-26 10:22:40 +02:00
bastimeyer
57023b1430 tests: fix Accept-Encoding headers in stream_json 2021-09-16 10:07:13 +02:00
back-to
6943bf173c ci: temporary windows python 3.10 fix for missing lxml 4.6.3 wheel
- Fix CI, don't fail on python 3.10
- temporary until lxml gets an update

closes https://github.com/streamlink/streamlink/issues/3971

---

Original files are downloaded from `the unofficial Windows binaries https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml`

- ea954da3c8/INSTALL.txt (L105-L115)
- https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

```text
556433cadf982a578ee74e989883a07aa9d2a59a04eb2b9f6397c0b4b471ecad  lxml-4.6.3-cp310-cp310-win_amd64.whl
f756d973f89dd0715b5e93301afb9ebdd612ef53ac8986516c1eb0bc6518d85f  lxml-4.6.3-cp310-cp310-win32.whl
```
2021-09-13 22:46:08 +02:00
bastimeyer
34cac086b3 installer: upgrade python from 3.9.6 to 3.9.7 2021-09-10 14:15:45 +00:00
bastimeyer
903c52088a installer: switch to streamlink/FFmpeg-Builds 2021-09-02 17:12:23 +02:00
bastimeyer
4cb5da6b40 installer: move assets config to local JSON file 2021-09-02 13:46:03 +02:00
bastimeyer
300a67e495 vendor: add lxml dependency 2021-08-28 12:08:13 -07:00
back-to
ac47d04e7c setup: update requests version >=2.26.0 and makeinstaller.sh
revert https://github.com/streamlink/streamlink/pull/3880
2021-08-22 12:31:59 +02:00
bastimeyer
77aee5bfda installer: upgrade to python 3.9 2021-08-17 20:15:35 -07:00
bastimeyer
a1fd4edee6 vendor: downgrade requests to 2.25.1 on Windows
This temporarily fixes the issue of randomly failing tests on
Windows which seems to be related to the latest requests version
2.26 and requests-mock, where mocked request responses take an
random/arbitrary time to return data, which makes the
EventedHLSStreamWriter tests miss their time frames when writing
HLS segment data to the output buffer.

Since Windows builds of Streamlink don't rely on system python
packages like on most Linux distros for example, downgrading and
forcing an older version of requests on Windows should be fine.

This commit thus partly reverts 35cb8d9f and 29a25fc7 which fixed
the broken dependencies of the Windows installer and skipped the
randomly failing tests on Windows.
2021-07-23 20:25:03 -07:00
bastimeyer
35cb8d9f9a vendor: set requests to >=2.26.0,<3
- Bump requests to latest version:
  This replaces transitive dependency chardet with charset-normalizer
- Fix Windows installer dependencies:
  Upgrade dependencies and list them as wheels with strict versions,
  where possible.
  pynsist unfortunately doesn't support additional wheel checksums.
2021-07-15 15:27:27 -07:00
bastimeyer
b1c3aa14e8 cli: rename config file on Windows to "config"
but keep "streamlinkrc" as secondary file for backwards compatiblity
2021-06-06 11:50:33 -07:00
Sebastian Meyer
310f30f18b
build: don't build sdist/bdist quietly (#3645) 2021-03-23 19:47:36 +01:00
bastimeyer
a2b97c99e4 plugins: fix and update removed plugins list
- add shell script for updating the removed plugins list from the git
  history of deleted and renamed plugin files, compared with the current
  list of plugins
- test that the removed plugins list does not include any active plugins
- update removing plugins section in developing docs
2021-03-03 11:17:28 -08:00
fenopa
7b74974c4a installer: upgrade to python 3.8.7
3.8.7 is out for two weeks
2021-01-02 20:24:26 +01:00
bastimeyer
894bc965b5 installer: downgrade to python 3.8
This re-enables support for Windows 7, even though it has already seen
its EOL in January this year.
2020-11-09 12:03:11 -08:00
bastimeyer
bc78360c51 installer: upgrade to Python 3.9.0
- Install fixed pynsist pre-release version from git. This is necessary
  when trying to install wheels with an included Python ABI tag in their
  file name, as the tag naming scheme has been changed in Python 3.8.0.
- Bump the installer's Python version to 3.9.0
- Bump pycryptodome dependency to 3.9.9
2020-11-04 19:50:27 -08:00
bastimeyer
8034b16063 chore: drop support for Python 2
- Bump Python version requirement to 3.5
- Remove unneeded compatibility dependencies
- Remove py2 warning from streamlink.session
- Update pypi package classifiers
- Update docs
- Remove universal bdist_wheel
- Update CI test runners and codecov config
2020-10-19 14:54:14 +02:00
bastimeyer
e6b2b0e3a1 docs: fix working tree check in deploy script 2020-10-10 12:10:42 -07:00
Sebastian Meyer
3c082049e9
utils.l10n: fix pycountry language lookup (#3057) 2020-07-04 18:53:59 +02:00
back-to
5e5d5e9cab ci: fix pycountry issue temporarily with a fixed version 2020-07-02 16:47:08 -07:00
bastimeyer
f43d643e0f installer: download ffmpeg+rtmpdump assets
from streamlink/streamlink-assets
2020-04-19 20:12:38 +02:00
bastimeyer
a233780933 installer: rewrite / clean up makeinstaller script
- Move removed plugins list into a text file and read from it
- Add log and err functions
- Define build dependencies
- Set repo root directory instead of assuming it
- Clean up build directory before building the installer
- Set dist dir to same STREAMLINK_DIST_DIR
- Suppress warning/error messages from inkscape and imagemagick
- Replace some strings in pynsist config with variables
- Add Streamlink license file to pynsist config
- Update python license text according to the currently used version
- Remove unneeded pbs license text
2020-04-19 20:11:39 +02:00
beardypig
1cb43e313d
plugins.tv1channel: remove tv1channel plugin 2020-04-17 13:07:28 +02:00
beardypig
a0bb7bc1de
plugins.eurocom: remove eurocom plugin 2020-04-17 11:15:03 +02:00
back-to
bcd920a881
AUTHORS: removed unused script and removed outdated list (#2889)
Removed the list because it is totally outdated,
if someone wants to search the Authors list for whatever reason just use the git command.
2020-04-12 21:13:15 +02:00
back-to
7204cfc6b7 plugins.younow: remove plugin
seems like you need a third party account for a normal login

not really worth to fix this
2020-04-10 16:38:12 -07:00
bastimeyer
a0e74d5cd0 cleanup: remove TravisCI from deploy scripts 2020-04-04 12:21:38 +02:00
bastimeyer
85602a95fd ci: remove old CI configs
and the now unused bintray deploy scripts
2020-04-04 00:49:14 -07:00
beardypig
8860ba8e14 update docs deployment key 2020-04-02 22:11:56 +02:00