Skip to content

Commit 8c030e8

Browse files
authored
Merge pull request #11 from highcharts-for-python/develop
PR for v.1.0.0-rc1
2 parents e00177e + cf79a8b commit 8c030e8

File tree

617 files changed

+7021
-5573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

617 files changed

+7021
-5573
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: File a bug report to help us improve
4+
title: BUG
5+
labels: bug
6+
assignees: hcpchris
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. When I attempt '...' using the following code: '...'
16+
2. I receive '...'
17+
18+
**Expected behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
**Your Environment:**
22+
- OS: [e.g. Linux, Windows, etc.]
23+
- Python Version: [e.g. 3.10, 3.8, 3.11]
24+
- Highcharts JavaScript Version: [e.g. 10.2, 10.3, etc.]
25+
26+
**Additional context**
27+
Add any other context about the problem here.

.github/workflows/pypi-publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# GitHub recommends pinning actions to a commit SHA.
7+
# To get a newer version, you will need to update the SHA.
8+
# You can also reference a tag or branch, but the action may change without warning.
9+
10+
name: Release Library to PyPi
11+
12+
on:
13+
release:
14+
types: [published]
15+
16+
env:
17+
HATCH_INDEX_USER: __token__
18+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
19+
HATCH_INDEX_REPO: main
20+
21+
jobs:
22+
deploy:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Set up Python
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: '3.x'
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install hatch
34+
- name: Build package
35+
run: hatch build
36+
- name: Publish package
37+
run: hatch publish
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# GitHub recommends pinning actions to a commit SHA.
7+
# To get a newer version, you will need to update the SHA.
8+
# You can also reference a tag or branch, but the action may change without warning.
9+
10+
name: Upload Python Package
11+
12+
on:
13+
pull_request:
14+
branches:
15+
- master
16+
17+
env:
18+
HATCH_INDEX_USER: __token__
19+
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_API_TOKEN }}
20+
HATCH_INDEX_REPO: test
21+
22+
jobs:
23+
deploy:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Set up Python
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: '3.x'
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install hatch
35+
- name: Build package
36+
run: hatch build
37+
- name: Publish package
38+
run: hatch publish

.readthedocs.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# If using Sphinx, optionally build your docs in additional formats such as PDF
23+
# formats:
24+
# - pdf
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
python:
28+
install:
29+
- requirements: requirements.dev.txt

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
language: python
2+
job:
3+
include:
4+
#- python: "3.8"
5+
# env: TOXENV=py38
6+
#- python: "3.9"
7+
# env: TOXENV=py39
8+
- python: "3.10"
9+
dist: focal
10+
env: TOXENV=py310
11+
- python: "3.11"
12+
dist: bionic
13+
env: TOXENV=py311
14+
- python: "3.10"
15+
dist: focal
16+
env: TOXENV=coverage
17+
- python: "3.10"
18+
dist: focal
19+
env: TOXENV=docs
20+
os:
21+
- linux
22+
git:
23+
quiet: true
24+
install:
25+
- pip install -r requirements.dev.txt
26+
before_script:
27+
- mkdir /home/travis/build/highcharts-for-python/highcharts-core/tests/input_files/headless_export/output/
28+
- curl -Os --retry 5 https://uploader.codecov.io/latest/linux/codecov
29+
- chmod +x codecov
30+
script: tox -- -v -nauto
31+
32+
after_success:
33+
- if [[ -e .coverage ]]; then ./codecov -t $CODECOV_TOKEN; fi

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Release 0.1.0
1+
Release 1.0.0-rc1
22
=========================================
33

4-
* First public release
4+
* First public release: **Release Candidate 1**

0 commit comments

Comments
 (0)