Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release #94

Closed
wants to merge 20 commits into from
Closed

Prepare release #94

wants to merge 20 commits into from

Conversation

gutzbenj
Copy link
Member

@gutzbenj gutzbenj commented Jul 2, 2020

I prepared the release to PyPi. I renamed the library, added a release Github action, updated the readme and added minor changes.

@amotl
Copy link
Member

amotl commented Jul 2, 2020

Thanks a bunch for all your excellent work on this. I will start a review process, let's check what comes up.

@gutzbenj gutzbenj linked an issue Jul 2, 2020 that may be closed by this pull request
.github/workflows/README.md Show resolved Hide resolved
.github/workflows/release.yml Show resolved Hide resolved
python-version: 3.8
architecture: x64
- run: pip install nox==2019.11.9
- run: pip install poetry==1.0.5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within the other workflow, there's already pip install poetry==1.0.9.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will amend through #95.

with:
python-version: 3.8
architecture: x64
- run: pip install nox==2019.11.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within the other workflow, there's already pip install nox==2020.5.24.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will amend through #95.

architecture: x64
- run: pip install nox==2019.11.9
- run: pip install poetry==1.0.5
- run: nox
Copy link
Member

@amotl amotl Jul 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really invoke Nox here again?

codecov = "^2.1.7"

[tool.poetry.scripts]
dwd = 'python_dwd.cli:run'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please say wetterdienst = wetterdienst.cli:run here.

Comment on lines -13 to +12
assert remote_file_path[DWDMetaColumns.FILENAME.value].tolist() == ['daily/kl/recent/tageswerte_KL_01048_akt.zip']
assert remote_file_path == ['daily/kl/recent/tageswerte_KL_01048_akt.zip']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this change been intended?

Comment on lines +13 to +18
# Single-sourcing the package version
# https://cjolowicz.github.io/posts/hypermodern-python-06-ci-cd/
try:
from importlib.metadata import version, PackageNotFoundError # type: ignore
except ImportError: # pragma: no cover
from importlib_metadata import version, PackageNotFoundError # type: ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to see this seems to work now. Even with the special fallback for Python 3.6 and 3.7.

@amotl amotl linked an issue Jul 2, 2020 that may be closed by this pull request
@amotl amotl mentioned this pull request Jul 2, 2020
@amotl
Copy link
Member

amotl commented Jul 2, 2020

Please also check #95. I tried to rebase the branch on top of current master and resolved all conflicts which came up, always choosing git checkout --ours ... for all files in question - which essentially have only been all of:

  • .github/workflows/tests.yml
  • .github/workflows/coverage.yml
  • .coveragerc
  • pyproject.toml
  • noxfile.py

@amotl
Copy link
Member

amotl commented Jul 2, 2020

Superseded by #95.

@amotl amotl closed this Jul 2, 2020
@gutzbenj gutzbenj deleted the prepare-release branch July 5, 2020 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add python-dateutil to list of dependencies Packaging and publishing
2 participants