Skip to content

Commit

Permalink
Merge branch 'main' into fix/pyproject_python_requires
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr authored Dec 13, 2023
2 parents 0b42fed + c6543d8 commit dfa6415
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rapids-dependency-file-generator",
"version": "1.7.1",
"version": "1.7.2",
"description": "`rapids-dependency-file-generator` is a Python CLI tool that generates conda `environment.yaml` files and `requirements.txt` files from a single YAML file, typically named `dependencies.yaml`.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/rapids_dependency_file_generator/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.7.1"
__version__ = "1.7.2"
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ def delete_existing_files(root="."):
lambda fn: fn.endswith(".txt") or fn.endswith(".yaml"), filenames
):
with open(file_path := os.path.join(dirpath, fn)) as f:
if HEADER in f.read():
os.remove(file_path)
try:
if HEADER in f.read():
os.remove(file_path)
except UnicodeDecodeError:
pass


def dedupe(dependencies):
Expand Down
2 changes: 1 addition & 1 deletion src/rapids_dependency_file_generator/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/rapidsai/dependency-file-generator/v1.7.1/src/rapids_dependency_file_generator/schema.json",
"$id": "https://raw.githubusercontent.com/rapidsai/dependency-file-generator/v1.7.2/src/rapids_dependency_file_generator/schema.json",
"type": "object",
"title": "RAPIDS Package Dependency Specification Format",
"description": "Consolidated specification of RAPIDS project dependencies",
Expand Down

0 comments on commit dfa6415

Please sign in to comment.