Skip to content

Conversation

@jackson15j
Copy link

Blind coding to try and fix the deprecation notice that is failing builds in CI.

...
Done (Total of 2 files compiled, 1 skipped)
Package `s-1.12.0' deleted.
Wrote /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s.el
File exists: /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s-pkg.el

!!!
!!!                    DEPRECATION NOTICE
!!!
!!!
!!!    The cask `go` script will be removed on 2021/06/01.
!!!
!!!    This is due to security concerns about the way python is
!!!    invoked from curl, and to remove the python dependency from cask.
!!!
!!!    The way to install cask without depending on the `go` script
!!!    is very simple.  Just clone Cask and pass the PATH.
!!!
!!!        git clone https://github.com/cask/cask ~/.cask
!!!        PATH=$HOME/.cask/bin:$PATH
!!!
!!!        # If you want to make it permanent
!!!        echo 'PATH=$HOME/.cask/bin:$PATH' >> .bashrc
!!!

Cask could not be bootstrapped. Try again later, or report an issue at https://github.com/cask/cask/issues
The command "curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh" failed and exited with 1 during .

Your build has been stopped.

@jackson15j jackson15j force-pushed the feature/update_travis_ci branch from 8d979d8 to 516c68e Compare July 27, 2021 16:37
Travis is failing:
https://travis-ci.org/github/jorgenschaefer/pyvenv/jobs/772569402, so trying to
work around the deprecation:

```
...
Done (Total of 2 files compiled, 1 skipped)
Package `s-1.12.0' deleted.
Wrote /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s.el
File exists: /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s-pkg.el

!!!
!!!                    DEPRECATION NOTICE
!!!
!!!
!!!    The cask `go` script will be removed on 2021/06/01.
!!!
!!!    This is due to security concerns about the way python is
!!!    invoked from curl, and to remove the python dependency from cask.
!!!
!!!    The way to install cask without depending on the `go` script
!!!    is very simple.  Just clone Cask and pass the PATH.
!!!
!!!        git clone https://github.com/cask/cask ~/.cask
!!!        PATH=$HOME/.cask/bin:$PATH
!!!
!!!        # If you want to make it permanent
!!!        echo 'PATH=$HOME/.cask/bin:$PATH' >> .bashrc
!!!

Cask could not be bootstrapped. Try again later, or report an issue at https://github.com/cask/cask/issues
The command "curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh" failed and exited with 1 during .

Your build has been stopped.
```
@jackson15j jackson15j force-pushed the feature/update_travis_ci branch from 516c68e to f9ac847 Compare July 27, 2021 16:42
There's a workaround:
https://emacs.stackexchange.com/questions/34296/package-emacs-25-is-unavail,
but this looks like there is a downstream dependency that has moved to `25.1`.

Travis output:

```
...
(No changes need to be saved)
Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-autoloads.el...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-pkg.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-pkg.elc
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up.el...
In end of data:
shut-up.el:152:1:Warning: the following functions are not known to be defined:
    shut-up-write-region-original, shut-up-load-original
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for cl-generic.el...
Generating autoloads for cl-generic.el...done
Saving file /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el
(No changes need to be saved)
Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-pkg.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-pkg.elc
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for ansi.el...
Generating autoloads for ansi.el...done
Saving file /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el
Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el...
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-pkg.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-pkg.elc
Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi.el...
Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi.elc
Done (Total of 2 files compiled, 1 skipped)
Loading package information... done
Package operations: 10 installs, 0 removals
  - Installing [ 1/10] mocker (latest)... downloadingMissing dependency: "Package `emacs-25.1' is unavailable", ""
The command "cask" failed and exited with 255 during .
Your build has been stopped.
```
@jackson15j
Copy link
Author

Got Travis working but dropped support for 24.5. See comment in commit: d2d92b8. Here's my local travis run: https://travis-ci.com/github/jackson15j/pyvenv/builds/233797887.

@jackson15j jackson15j marked this pull request as ready for review July 27, 2021 16:51
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.

1 participant